Re: Why does session.gc_maxlifetime default to 1440 seconds?
| From: | Leigh | Date: | Sat, 31 Jan 2015 11:24:28 +0000 |
| Subject: | Re: Why does session.gc_maxlifetime default to 1440 seconds? | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-81481@lists.php.net to get a copy of this message | ||
On 31 January 2015 at 11:12, Bas van Beek <bas@tobin.nl> wrote:
>
> Well the number 1440 itself is not so arbitrary as it's the amount of minutes in a day.
> Maybe that's why the number popped up.
>
> In the end 24 minutes does seem to be fine for the majority of people and with people that care
> about session duration it's really easy to update :)
>
I like the idea of this being a 15+ year old "bug" where minutes were
used instead of seconds :)
Initial commits don't really give much of a hint to the thinking
behind it either it seems.
http://svn.php.net/viewvc/archived/php4.fubar/trunk/ext/session/session.c?r1=9519&r2=9520&pathrev=9520&
http://svn.php.net/viewvc/archived/php4.fubar/trunk/php.ini-dist?r1=10922&r2=10923&pathrev=10923&
/cc sas