Re: Why does session.gc_maxlifetime default to 1440 seconds?
| From: | Markus Amalthea Magnuson | Date: | Wed, 28 Jan 2015 20:08:49 +0000 |
| Subject: | Re: Why does session.gc_maxlifetime default to 1440 seconds? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-324307@lists.php.net to get a copy of this message | ||
Thanks for the reply Aziz,
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.
What do you think? How could I find more info on this? I emailed the person
who made the commit to the PHP source code ago setting this default, but
that was a long time ago and I still have not received any reply.
Kind regards,
Markus
On Wed, Jan 28, 2015 at 8:57 PM, Aziz Saleh <azizsaleh@gmail.com> wrote:
>
>
> On Wed, Jan 28, 2015 at 2:47 PM, Markus Amalthea Magnuson <
> markus.magnuson@gmail.com> wrote:
>
>> Hey all,
>>
>> Does anyone know why the default value of session.gc_maxlifetime is
>> 1440 seconds
>> (24 minutes)?
>>
>> Best regards,
>>
>> Markus
>>
>
> I would think its a design choice by the maker. You should read this to
> see how probability/divisor are accounted for as well:
>
> http://stackoverflow.com/a/1270960/1935500
>