using new egw_session::init_handler()

This commit is contained in:
Ralf Becker 2008-08-07 21:14:00 +00:00
parent 907e24d227
commit 88827a3f3d

View File

@ -150,11 +150,9 @@ class Horde_SyncML_SyncMLHdr extends Horde_SyncML_ContentHandler {
// custom session id.
session_destroy();
// we need to (re-)load our custom memcache session handler, as session_destroy unloads it somehow
if (extension_loaded('memcache') && ini_get('session.save_handler') == 'user')
{
session_set_save_handler("egw_memcache_open", "egw_memcache_close", "egw_memcache_read", "egw_memcache_write", "egw_memcache_destroy", "egw_memcache_gc");
}
// we need to (re-)load the eGW session-handler, as session_destroy unloads custom session-handlers
egw_session::init_handler();
// Reload the Horde SessionHandler if necessary.
Horde::setupSessionHandler();