"dont let php's session handle set the session-cookie"

This commit is contained in:
Ralf Becker 2008-08-16 06:03:10 +00:00
parent 93e98f3e1a
commit ab01e4d818

View File

@ -58,7 +58,9 @@ egw_session::init_handler();
// check if we can restore the eGW enviroment from the php-session
if ($_REQUEST[egw_session::EGW_SESSION_NAME])
{
session_id($_REQUEST[egw_session::EGW_SESSION_NAME]);
ini_set('session.use_cookies',0);
session_name(egw_session::EGW_SESSION_NAME);
session_id($_REQUEST[egw_session::EGW_SESSION_NAME]);
session_start();
if ($GLOBALS['egw_info']['flags']['currentapp'] != 'login' && $GLOBALS['egw_info']['flags']['currentapp'] != 'logout')