Re: Adventures in Cookies

From: Date: Mon, 23 Jan 2006 16:40:19 +0000
Subject: Re: Adventures in Cookies
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-229095@lists.php.net to get a copy of this message
On Mon, 23 Jan 2006 11:30:32 -0500 tedd <tedd@sperling.com> wrote: > > While I'm sure this is obvious for most, but I just discovered this. > > Using one browser (browser A) I can access one of my pages and create > a cookie with a user input value. > > Then using a different browser (browser B), I can access the same > page and create another cookie with another user value. > > Now, it would seem to me that I shouldn't have two cookies with the > same name both having different contents, but that's exactly what > I've found -- for browser A will produce one value and browser B will > produce another value. > > Now, does anyone know where it says in any php documentation that > COOKIE values are dependent upon browser type? This is a function of the way cookies work, and is not a php issue. Cookies are stored by the browser wherever the browser chooses to place them. If another browser cannot access them it cannot send any info back so it will receive a new one. Regards, Ozz.

Attachment: [application/pgp-signature]
« previous php.general (#229095) next »