Summary | persistent_params not set or asked in conf.xml |
Queue | Horde Framework Packages |
Queue Version | HEAD |
Type | Bug |
State | Not A Bug |
Priority | 1. Low |
Owners | |
Requester | adrieder (at) sbox (dot) tugraz (dot) at |
Created | 05/20/2008 (6232 days ago) |
Due | 05/20/2008 (6232 days ago) |
Updated | 05/20/2008 (6232 days ago) |
Assigned | |
Resolved | 05/20/2008 (6232 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
"$driver = 'memcache';" be set after setting the "$persistent_params"
array to which "$driver" is passed? When I read the code above, then
"memcache" is passed to this array, is this intended?
Sorry if this question is stupid, but I couldn't figure out something
else that causes my sessions not to be saved in the sql session table.
State ⇒ Not A Bug
code is doing is saving the original params (for the persistent
driver) so that the memcache driver can later pass these params on to
the persistent driver. It's just a temporary holding place to allow
us to pass driver information between classes. $driver is replaced
with 'memcache' and $params is replaced with the params needed for the
'memcache' driver, so we need a way to make sure the original values
aren't blown away.
Nowhere are we trying to load 'persistent_params' from the conf.xml,
and there is absolutely no reason we would ever want to.
Priority ⇒ 1. Low
Patch ⇒ No
Milestone ⇒
Queue ⇒ Horde Framework Packages
Due ⇒ 05/20/2008
Summary ⇒ persistent_params not set or asked in conf.xml
Type ⇒ Bug
State ⇒ Unconfirmed
conf.xml is not setting or asking for the persistent_params used in
SessionHandler.php.
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;
}
This causes that the sessions are actually not stored in the sql
database and therefore the are not persisted.