Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connections
Warning: mysqli::query(): Couldn't fetch mysqli in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\index.php on line 66
Article <v1o56m$18kst$3@paganini.bofh.team>
Deutsch   English   Français   Italiano  
<v1o56m$18kst$3@paganini.bofh.team>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!3.eu.feeder.erje.net!feeder.erje.net!newsfeed.bofh.team!paganini.bofh.team!not-for-mail
From: Thomas Alexandre <none@no.invalid>
Newsgroups: fr.comp.lang.php
Subject: Re: Cookies
Date: Sat, 11 May 2024 16:08:54 -0000 (UTC)
Organization: To protect and to server
Message-ID: <v1o56m$18kst$3@paganini.bofh.team>
References: <663b168e$0$16411$426a74cc@news.free.fr>
	<a6as3jl3an7ae0k499d2nutsfi6kiiujur@4ax.com>
	<663f707a$0$8248$426a74cc@news.free.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 11 May 2024 16:08:54 -0000 (UTC)
Injection-Info: paganini.bofh.team; logging-data="1332125"; posting-host="OtbVXBrXwEuWJGjkwkc/+g.user.paganini.bofh.team"; mail-complaints-to="usenet@bofh.team"; posting-account="9dIQLXBM7WM9KzA+yjdR4A";
User-Agent: Pan/0.154 (Izium; 517acf4)
X-Notice: Filtered by postfilter v. 0.9.3
Bytes: 2187
Lines: 29

Le Sat, 11 May 2024 15:19:46 +0200, Thierry Loiseau a écrit :

> Denis Beauregard <denis.b-at-francogene.com.invalid@nospam.com.invalid>
> wrote:
> 
>> Je note toutefois qu'il y a des caractères spéciaux permis par l'un et
>> pas par l'autre.
> 
> Il est possible que ce soit la clef de mon problème...

Alors, non, c'est un problème de synchronisation.

> J'ai une page de test :
> <http://astrophoto.free.fr/test_cookie_php_js.php>

Au premier GET sur la page, aucun cookie n'est présent dans la requête, le 
backend PHP répond donc correctement "vide" et une fois que la page est 
chargée, le script JS demande la nouvelle valeur et l'affiche *actualisée*.

Au clic sur "recommencer", il y a un deuxième GET, cette fois avec le 
cookie qu'on a renseigné précédemment, le backend PHP répond correctement 
la valeur du cookie et une fois que la page est chargée, le script JS 
demande la nouvelle valeur et l'affiche actualisée.


-- 
"Ce qu'il faut au fond pour obtenir une espèce de paix avec les hommes,
(...) c'est leur permettre en toutes circonstances, de s'étaler, de se
vautrer parmi les vantardises niaises. Il n'y a pas de vanité
intelligente. C'est un instinct." - Céline