diff --git a/setup/inc/class.setup.inc.php b/setup/inc/class.setup.inc.php index aeb6b998e7..46d1bb0b04 100644 --- a/setup/inc/class.setup.inc.php +++ b/setup/inc/class.setup.inc.php @@ -251,7 +251,11 @@ class setup if (isset($_COOKIE[self::SESSIONID])) session_id($_COOKIE[self::SESSIONID]); - return @session_start(); // suppress notice if session already started or warning in CLI + $ok = @session_start(); // suppress notice if session already started or warning in CLI + // need to decrypt session, in case session encryption is switched on in header.inc.php + egw_session::decrypt(); + //error_log(__METHOD__."() returning ".array2string($ok).' _SESSION='.array2string($_SESSION)); + return $ok; } /**