Session expires early
Permalink
Maximum session lifetime is configured as 7200 seconds (2 hours) in base.php. When I check the cookie in Firefox, it shows that the cookie expires at the end of the session (i.e., it's a session cookie).
A session expires after a much shorter time, though, about 20 minutes. Is there anything else that affects the timeout of a session?
A session expires after a much shorter time, though, about 20 minutes. Is there anything else that affects the timeout of a session?
It doesn't. Does anyone know how to make the site signout after "x" minutes of inactivity?
I keep getting timed out after a few minutes. It's really annoying because I'm in the middle of something and then I go to save it and get an error. Then, I have to log back in and do it all over again.
I'm SURE there's some explanation for it, but I don't know what it is.
I'm SURE there's some explanation for it, but I don't know what it is.
Old thread, just found it by accident. Did anyone check if this helps?
ini_set("session.gc_maxlifetime", 2*60*60);
define('SESSION_MAX_LIFETIME', 900); // 15 minutes
in the site.php will change the timeout.