Re: Why does session.gc_maxlifetime default to 1440 seconds?
| From: | Markus Amalthea Magnuson | Date: | Sat, 31 Jan 2015 10:45:06 +0000 |
| Subject: | Re: Why does session.gc_maxlifetime default to 1440 seconds? | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-81479@lists.php.net to get a copy of this message | ||
Hey Yasuo,
Yes, there can surely be no other reason for the existence of the value,
than that someone wrote it :)
I think what I'm interested in is the reasoning behind it, since it seems
so arbitrary. It's not 20 or 30 minuts, for example.
I have tried emailing the author a long time ago but never received a reply.
On Sat, Jan 31, 2015 at 12:54 AM, Yasuo Ohgaki <yohgaki@ohgaki.net> wrote:
> Hi Markus,
>
> On Sat, Jan 31, 2015 at 4:02 AM, Markus Amalthea Magnuson <
> markus.magnuson@gmail.com> wrote:
>
>> I've been trying to figure out the design decision behind why the default
>> value of session.gc_maxlifetime is 1440 seconds (24 minutes)?
>>
>> Does anyone know or have any good sources?
>>
>
> Because the author set this value, I think.
> It was 1440 since session module is introduced, IIRC.
>
> I think 1440 is reasonable value for many applications.
>
> Regards,
>
> --
> Yasuo Ohgaki
> yohgaki@ohgaki.net
>