** Changed in: mahara
    Milestone: 1.8rc1 => 1.8.0

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1166578

Title:
  auth/session.php incorrectly multiplies $cfg->session_timeout by 60

Status in Mahara ePortfolio:
  Fix Committed

Bug description:
  The user interface code to set the value of $cfg->session_timeout
  assumes that the user is entering a number of seconds. It defaults to
  86400, which is the number of seconds in 24 hours.

  But, the code at the top of htdocs/auth/session.php multiplies this by
  60 before entering it into session.gc_maxlifetime. As if it were
  minutes rather than seconds.

  This hasn't caused us any problems so far (except, probably, a very
  long lifetime before session garbage collection), but it was noticed
  and caused problems for a developer implementing memcached-based
  sessions.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1166578/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to