Re: _COOKIE[] unique?



newtophp2000@xxxxxxxxx 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 is unique to the user's browser session. The cookie is stored on the user's system.


--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@xxxxxxxxxxxxx
==================
.



Relevant Pages

  • Re: tracking logins
    ... You might wonder how after the login is complete that the server can ... By TCP/IP session. ... The server sends a cookie at login time, ...
    (comp.lang.java.programmer)
  • Re: $_SESSION problem - page reload creates new Session ID
    ... > set on a page just viewed because there is a new session created ... As fas as the server is concerned all requests are independant. ... cookie back to the server. ...
    (comp.lang.php)
  • Re: Asp| Cookies vs Session Variables
    ... An in-memory cookie is stored in the client's memory. ... Session variables themselves aren't a particular burden on a server. ...
    (microsoft.public.inetserver.iis)
  • Re: ASP IIS Session Hell
    ... Sessions are maintained by cookies passed between the server and browser. ... If the server is not sending the session cookie, ... 3 sites off a common folder, ...
    (microsoft.public.inetserver.iis)
  • Re: Sessions vs Cookies
    ... There is a session cookie which simply allows the server to identify the client and retrieve relevant session data for it. ... If cookies can be read or forged, it makes little odds whether you have the master key or all the little keys,. ... Suppose you only send the PHPSESSID: Now you cannot change a thing on the server, even if you have the 'master key'. ...
    (comp.lang.php)