Hi all
I'm trying to set my sessions to be deleted after 60 seconds of
inactivity (for testing), however they seem to be deleted after 60
seconds regardless of activity.
I have the following in my php.ini file:
session.gc_maxlifetime = 60
session.gc_probability = 100
I have a login check script on every page that prints the current time
to the session, however my session is *always* deleted after 60
seconds, not after 60 inactive seconds.
It is my understanding that session.gc_maxlifetime is the number of
seconds an inactive session is allowed to live...is this correct?
If so why does my session get deleted after 60 seconds even though it's
active?
Thanks for any help!
JA