Summary | session counting returns 0 sessions |
Queue | Horde Framework Packages |
Queue Version | HEAD |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | slusarz (at) horde (dot) org |
Requester | adrieder (at) sbox (dot) tugraz (dot) at |
Created | 05/19/2008 (6279 days ago) |
Due | 05/19/2008 (6279 days ago) |
Updated | 05/20/2008 (6278 days ago) |
Assigned | |
Resolved | 05/19/2008 (6279 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
http://lists.horde.org/archives/cvs/Week-of-Mon-20080519/078678.html
But still I do not see any entry in the session table in the db...
I'll continue to search for the cause :-)
in SessionHandler.php there is:
if ($driver == 'memcached') {
// Trap for old driver name.
$driver = 'memcache';
} elseif (($driver != 'memcache') && !empty($params['memcache'])) {
$driver = 'memcache';
unset($params['memcache']);
$persistent_params = array('persistent_driver' =>
$driver, 'persistent_params' => $params);
$params = null;
}
... but the persistent_params are not generated or asked by conf.xml.
I'll file a new bug.
I still get "0", which is correct accourding to the
"horde_sessionhandler" table. This is strange, should't the sessions
be written into that table when using the following config:
$conf['sessionhandler']['params']['persistent'] = true;
$conf['sessionhandler']['params']['rowlocking'] = true;
$conf['sessionhandler']['params']['port'] = 3306;
$conf['sessionhandler']['params']['protocol'] = 'tcp';
$conf['sessionhandler']['params']['hostspec'] = 'XXX.XXX.3.24';
$conf['sessionhandler']['params']['username'] = 'horde';
$conf['sessionhandler']['params']['password'] = '****';
$conf['sessionhandler']['params']['database'] = 'horde';
$conf['sessionhandler']['params']['table'] = 'horde_sessionhandler';
$conf['sessionhandler']['type'] = 'mysql';
$conf['sessionhandler']['memcache'] = true;
State ⇒ Resolved
Assigned to Michael Slusarz
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ session counting returns 0 sessions
Due ⇒ 05/19/2008
Queue ⇒ Horde Framework Packages
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
caching the session counter just return 0 as numer of sessions.