From f601537b956cec41037181e54a7e05171de0a38d Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sun, 7 Jun 2009 15:49:12 +0000 Subject: [PATCH] fix for php5.3, which by default seems NOT include content of $_COOKIE in $_REQUEST (request_order php.ini variable) --- phpgwapi/inc/class.egw_session.inc.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/phpgwapi/inc/class.egw_session.inc.php b/phpgwapi/inc/class.egw_session.inc.php index 5ad87b7f1f..46e653abb7 100644 --- a/phpgwapi/inc/class.egw_session.inc.php +++ b/phpgwapi/inc/class.egw_session.inc.php @@ -736,6 +736,10 @@ class egw_session { $sessionid = $_REQUEST[self::EGW_SESSION_NAME]; } + elseif(!$only_basic_auth && isset($_COOKIE[self::EGW_SESSION_NAME])) + { + $sessionid = $_COOKIE[self::EGW_SESSION_NAME]; + } else { $sessionid = false;