Re: Why does session.gc_maxlifetime default to 1440 seconds?

From: Date: Wed, 28 Jan 2015 21:13:45 +0000
Subject: Re: Why does session.gc_maxlifetime default to 1440 seconds?
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-324312@lists.php.net to get a copy of this message
20 minutes or so seems to be the standard for sessions across web servers. On Wed Jan 28 2015 at 3:55:07 PM Markus Amalthea Magnuson < markus.magnuson@gmail.com> wrote: > There is no specific logic for any use case I'm encountering. My > observation is simply that the number 24 in a time context only occurs for > the number of hours per day. > > On Wed, Jan 28, 2015 at 9:30 PM, Lester Caine <lester@lsces.co.uk> wrote: > > > On 28/01/15 20:08, Markus Amalthea Magnuson wrote: > > > I'm wondering about the decision itself, it seems like a rather strange > > > value, almost like the intention was 24 hours which there is some logic > > to. > > > > Leave an inactive session open for 24 hours? What is your logic for that? > > > > I have a system where people log in and deal with client interviews. > > Running for an hour without doing anything on the caller system is not > > unusual, so we opt for 2 hours. More often than not a time-out is due to > > someone forgetting to log out rather than them still interviewing and > > since the offices tend to be closed by 8PM everything is cleared down > > before midnight. But that is a special case, and 24 minutes is just as > > good as any other limit for a shorter time-out. An hour would only be > > appropriate if the user work flow needs it. > > > > -- > > Lester Caine - G8HFL > > ----------------------------- > > Contact - http://lsces.co.uk/wiki/?page=contact > > L.S.Caine Electronic Services - http://lsces.co.uk > > EnquirySolve - http://enquirysolve.com/ > > Model Engineers Digital Workshop - http://medw.co.uk > > Rainbow Digital Media - http://rainbowdigitalmedia.co.uk > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > >

« previous php.general (#324312) next »