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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



There is no problem at all, and of course I can change it.

This is more out of curiosity :)

On Wed, Jan 28, 2015 at 9:16 PM, Alain Williams <addw@xxxxxxxxxxxx> wrote:

> On Wed, Jan 28, 2015 at 09:08:49PM +0100, Markus Amalthea Magnuson wrote:
> > 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.
>
> It is a default ... the idea is to detect if someone has decided to go to
> another web site, gone to lunch, ... You can argue forever if it is the
> right
> number - I don't think that it is badly wrong - but if you don't like it
> just
> change it.
>
> What is the problem ?
>
> > Kind regards,
> >
> > Markus
> >
> > On Wed, Jan 28, 2015 at 8:57 PM, Aziz Saleh <azizsaleh@xxxxxxxxx> wrote:
> >
> > >
> > >
> > > On Wed, Jan 28, 2015 at 2:47 PM, Markus Amalthea Magnuson <
> > > markus.magnuson@xxxxxxxxx> 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
> > >
>
> --
> Alain Williams
> Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT
> Lecturer.
> +44 (0) 787 668 0256  http://www.phcomp.co.uk/
> Parliament Hill Computers Ltd. Registration Information:
> http://www.phcomp.co.uk/contact.php
> #include <std_disclaimer.h>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux