Page 1 of 1

How long a session is stored?

Posted: Thu Mar 30, 2006 10:58 am
by Qaid
How long is a session stored? And can i edit it?

Thanks

Posted: Thu Mar 30, 2006 11:28 am
by s.dot
have a look at your session.gc_maxlifetime in your php.ini file
that is the number of seconds your session will persist before being cleaned up by the system

and yes, you can edit it

Code: Select all

$_SESSION['var'] = $new_data;

Posted: Thu Mar 30, 2006 11:36 am
by Qaid
Im not a shark at the session part.. Can you explain the php code a bit more? :)

Thank you very much...