fix for php5.3, which by default seems NOT include content of $_COOKIE in $_REQUEST (request_order php.ini variable)

This commit is contained in:
Ralf Becker 2009-06-07 15:53:19 +00:00
parent 66a22129e0
commit 313dc8244b

View File

@ -736,6 +736,10 @@ class egw_session
{ {
$sessionid = $_REQUEST[self::EGW_SESSION_NAME]; $sessionid = $_REQUEST[self::EGW_SESSION_NAME];
} }
elseif(!$only_basic_auth && isset($_COOKIE[self::EGW_SESSION_NAME]))
{
$sessionid = $_COOKIE[self::EGW_SESSION_NAME];
}
else else
{ {
$sessionid = false; $sessionid = false;