[Techtalk] PHP, session variables & cookies

Kathryn Hogg kjh at flyballdogs.com
Sun Mar 6 17:41:03 EST 2005


Sue Stones said:
> I am looking into the legal implications of the website that I have just
> written, (reminderanywhere.com) and working on a privacy statement.
> (Well I'm not doing much of the work on the privacy statement, I made my
> partner do it).
>
> But the issue has come up of whether we are using cookies.  I have kept
> track of the user id using a session variable.  But I don't know
> anything about how session variables work, and whether that involves
> using cookies to keep track of the session.  Does anyone understand the
> internals of PHP in the regard?

http://us3.php.net/session

My understanding is that session ids are typically stored with cookies. 
The session id is used by PHP to map to a file that contains all the
session variables.

-- 
Kathryn
http://womensfooty.com



More information about the Techtalk mailing list