mynetworksolut
06-18-2007, 03:02 PM
I set 3 parameters to control session for my application, they are:
session.cache_expire 5 (min) = document expires after 5 min
session.cookie_lifetime 3600 (sec)
session.gc_maxlifetime 1500 (sec) -
I've read http://www.php.net/manual/en/ref.session.php but it doesn't seem to be clear to me. And in my application, after I log in, I didn't use it to wait for session expired; I notice that after idling for 20minutes, the session is still existing.
So what parameter should I set to have session expired if I let application idle for 30 minutes?
Please help me explain these parameter. Very appreciated.
session.cache_expire 5 (min) = document expires after 5 min
session.cookie_lifetime 3600 (sec)
session.gc_maxlifetime 1500 (sec) -
I've read http://www.php.net/manual/en/ref.session.php but it doesn't seem to be clear to me. And in my application, after I log in, I didn't use it to wait for session expired; I notice that after idling for 20minutes, the session is still existing.
So what parameter should I set to have session expired if I let application idle for 30 minutes?
Please help me explain these parameter. Very appreciated.