Summary | Sessions for memcache only session handler timeout too soon |
Queue | Horde Framework Packages |
Queue Version | FRAMEWORK_4 |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | jan (at) horde (dot) org |
Requester | arjen+horde (at) de-korte (dot) org |
Created | 09/24/2012 (4656 days ago) |
Due | |
Updated | 10/15/2012 (4635 days ago) |
Assigned | |
Resolved | 09/26/2012 (4654 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
commit 901bfdf0c0b8eb64aff3aa0f6f5685abde217bfc
Author: Jan Schneider <jan@horde.org>
Date: Wed Sep 26 16:42:47 2012 +0200
[jan] Fix track_lifetime setting for Memcache driver (
Bug #11444)..../lib/Horde/SessionHandler/Storage/Memcache.php | 6 +++---
framework/SessionHandler/package.xml | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
http://git.horde.org/horde-git/-/commit/901bfdf0c0b8eb64aff3aa0f6f5685abde217bfc
commit 901bfdf0c0b8eb64aff3aa0f6f5685abde217bfc
Author: Jan Schneider <jan@horde.org>
Date: Wed Sep 26 16:42:47 2012 +0200
[jan] Fix track_lifetime setting for Memcache driver (
Bug #11444)..../lib/Horde/SessionHandler/Storage/Memcache.php | 6 +++---
framework/SessionHandler/package.xml | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
http://git.horde.org/horde-git/-/commit/901bfdf0c0b8eb64aff3aa0f6f5685abde217bfc
State ⇒ Resolved
commit 1ff316dd844d42db93d29120c132a40cca839fd8
Author: Jan Schneider <jan@horde.org>
Date: Wed Sep 26 16:42:47 2012 +0200
[jan] Fix track_lifetime setting for Memcache driver (
Bug #11444)..../lib/Horde/SessionHandler/Storage/Memcache.php | 6 +++---
framework/SessionHandler/package.xml | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
http://git.horde.org/horde-git/-/commit/1ff316dd844d42db93d29120c132a40cca839fd8
New Attachment: Memcache.diff
tracked sessions)
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Sessions for memcache only session handler timeout too soon
Queue ⇒ Horde Framework Packages
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
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).