Re: Adventures in Cookies

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 23 Jan 2006 11:30:32 -0500
tedd <tedd@xxxxxxxxxxxx> 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: pgpjc1XI3yPE8.pgp
Description: PGP signature


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux