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,12 +150,10 @@ class Horde_SyncML_SyncMLHdr extends Horde_SyncML_ContentHandler {
// custom session id. // custom session id.
session_destroy(); session_destroy();
// we need to (re-)load our custom memcache session handler, as session_destroy unloads it somehow // we need to (re-)load the eGW session-handler, as session_destroy unloads custom session-handlers
if (extension_loaded('memcache') && ini_get('session.save_handler') == 'user') egw_session::init_handler();
{
session_set_save_handler("egw_memcache_open", "egw_memcache_close", "egw_memcache_read", "egw_memcache_write", "egw_memcache_destroy", "egw_memcache_gc"); // Reload the Horde SessionHandler if necessary.
}
// Reload the Horde SessionHandler if necessary.
Horde::setupSessionHandler(); Horde::setupSessionHandler();
// It would seem multisync does not send the user name once it // It would seem multisync does not send the user name once it