Index: trunk/core/kernel/session/session.php =================================================================== diff -u -r3021 -r3031 --- trunk/core/kernel/session/session.php (.../session.php) (revision 3021) +++ trunk/core/kernel/session/session.php (.../session.php) (revision 3031) @@ -363,7 +363,7 @@ function CheckIfCookiesAreOn() { // $this->CheckDuplicateCookies(); - if ($this->Mode == smGET_ONLY || (defined('INPORTAL_ENV')&&INPORTAL_ENV && defined('ADMIN')&&ADMIN && !$this->Application->GetVar('front')) ) + if ($this->Mode == smGET_ONLY || (defined('INPORTAL_ENV')&&INPORTAL_ENV && $this->Application->IsAdmin() && !$this->Application->GetVar('front')) ) { //we don't need to bother checking if we would not use it $this->CookiesEnabled = false;