[PHP] session lifetime
session.gc_maxlifetime specifies the number of seconds after which data will be seen as 'garbage' and cleaned up Let's say it's set to 900. How is this counted, from the time of the session is initialized, or is this counter reset every time you go to a new page. Does this makes sense?
RE: [PHP] session lifetime
session.gc_maxlifetime specifies the number of seconds after which data will be seen as 'garbage' and cleaned up Let's say it's set to 900. How is this counted, from the time of the session is initialized, or is this counter reset every time you go to a new page. Does this makes sense? It would only make sense if the time was reset each time the file is accessed. So, if the session file hasn't been accessed for over 900 seconds, then it'll be cleaned up. Otherwise, you'd lose a perfectly fine session after 900 seconds even if you're still active. ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] session lifetime
Hi All, I would like too keep a session going from between 1 to 3 days user selectable via my authentication system. If i change the php.ini then the session will not be changeable how can I do it without changing the lifetime variable? Regards Lagi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]