From ab01e4d8187b728d5249b510454f790aaafba125 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sat, 16 Aug 2008 06:03:10 +0000 Subject: [PATCH] "dont let php's session handle set the session-cookie" --- phpgwapi/inc/functions.inc.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/phpgwapi/inc/functions.inc.php b/phpgwapi/inc/functions.inc.php index 3ba3473952..4ec54b6054 100644 --- a/phpgwapi/inc/functions.inc.php +++ b/phpgwapi/inc/functions.inc.php @@ -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')