How to increase or decrease the lifetime of a session?
Posted: Mon Oct 13, 2008 9:12 pm
Hi ,
How to increase or decrease the lifetime of a session?
My requirement is session should timeout and all the session variables should be unset automatically after the prescribed time limit.
I used this code but the session did not timeout.Why?
ini_set("session.gc_maxlifetime", "60"); // should timeout after 1minute
How to increase or decrease the lifetime of a session?
My requirement is session should timeout and all the session variables should be unset automatically after the prescribed time limit.
I used this code but the session did not timeout.Why?
ini_set("session.gc_maxlifetime", "60"); // should timeout after 1minute