Posted by Lόpher Cypher on 12/30/05 17:11
newtophp2000@yahoo.com wrote:
> I may be getting confused over nothing here but ...
>
> I was wondering if the _COOKIE global is unqiue to each visitor or is
> it global across all visitor sessions? If it is truly global on the
> server side, is it possible that a cookie from one user's session may
> corrupt another user's session? How would I know which cookie goes
> with which user session/browser?
>
$_COOKIE will only have cookies for current visitor, I believe they are
sent over via http request :) Global in this context means that $_COOKIE
is accessible from anywhere in the script, not that it has the cookies
of all user sessions.
luph
[Back to original message]
|