
A question about PHP and Sessions
I got a question that has regards with the sessions that are stored on the server. There are a few things that kinda bug me so if any of you can answer I'd be grateful.
So here is my question: do the sessions that are created get deleted after some time, and what time would that be, also if they get deleted how can i use a cookie to retrieve a session from a user that came several weeks ago to the site so he does not have to log in again... if i set the cookie value to the PHPSSID value then once i retrieve it again the session might not be there at all to make the user get logged in.
My question is how is that usually solved? do you reset the cookie and set the session again or is it possible to have the same session continue after such a long time?
TheGodfather
Perception is reality
.
TheGodfather
Perception is reality
.
yes, I am....
TheGodfather
Perception is reality
.