Hi,
Does anyone out there know how long the server keeps a record of a session?
For example:
a web site uses sessions, and offers both sign-in and sign-out facilities. When a user signs in, data about them is stored in session variables. When the user signs out, the session is destroyed using "session_destroy()".
However, if the user never clicks on 'sign-out' and simply deletes the cookie from their browser, session_destroy() will never be called, so will the server ever realise that the session is dead and delete all of the information relating to it, or will it remain in a file on the server forever?
I only ask because I've been wondering about this for a while, and I can't seem to find any info about it..
Cheers,
Nick.