[Tickets #11444] Sessions for memcache only session handler timeout too soon

bugs at horde.org bugs at horde.org
Mon Sep 24 17:32:31 UTC 2012


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/11444
------------------------------------------------------------------------------
  Ticket             | 11444
  Created By         | arjen+horde at de-korte.org
  Summary            | Sessions for memcache only session handler timeout too
                     | soon
  Queue              | Horde Framework Packages
  Version            | FRAMEWORK_4
  Type               | Bug
  State              | Unconfirmed
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


arjen+horde at de-korte.org (2012-09-24 17:32) wrote:

When using the 'memcache only' session handler. it is possible to  
override the php.ini's 'session.gc_maxlifetime' parameter.

Unfortunately, the variable set in config/conf.xml uses  
'track_lifetime', where SessionHandler/Storage/Memcache.php looks for  
the variable 'track_lt'. Therefor, the SessionHandler will always  
fallback to the 'session.gc_maxlifetime' value from php.ini (which  
might be a lot smaller).

Either conf.xml should be changed to use  
$conf[sessionhandler][params][track_lt] (which fixed the problem for  
me) or the SessionHandler should be changed to use 'track_lifetime'  
(as advertised in the constructor's comments).







More information about the bugs mailing list