Menu

#3058 (ok 3.3.5) Odd $cfg['LoginCookieValidity'] default value

3.3.4
fixed
1
2013-06-11
2010-07-06
Sworddragon
No

The $cfg['LoginCookieValidity'] setting contains the value 1440. This value are the seconds until a cookie will be invalid on inactivity but 1440 seconds are 24 minutes. Maybe the programmer thought the value are minutes instead of seconds because 1440 minutes are 24 hours which makes more sense. In my opinion this value should be set to 86400 seconds (this are 1440 minutes) or to 1800 seconds (this is the old value of 30 minutes).

Discussion

  • Marc Delisle

    Marc Delisle - 2010-07-06
    • assigned_to: nobody --> lem9
     
  • Marc Delisle

    Marc Delisle - 2010-07-06

    This bug was fixed in repository and will be part of a future release; thanks for reporting.

     
  • Marc Delisle

    Marc Delisle - 2010-07-06
    • priority: 5 --> 1
    • summary: Odd $cfg['LoginCookieValidity'] value --> (ok 3.3.5) Odd $cfg['LoginCookieValidity'] default value
    • status: open --> open-fixed
     
  • Marc Delisle

    Marc Delisle - 2010-07-07

    I got a comment on the mailing list. I am putting back the 1440 seconds value and adding a comment. This is to match the php.ini session.gc_maxlifetime, see http://ca2.php.net/manual/en/session.configuration.php

     
  • Marc Delisle

    Marc Delisle - 2010-07-26
    • status: open-fixed --> closed-fixed
     
  • Michal Čihař

    Michal Čihař - 2013-06-11
    • Status: closed-fixed --> fixed
     
MongoDB Logo MongoDB