Index: branches/unlabeled/unlabeled-1.50.2/core/kernel/session/session.php =================================================================== diff -u -r5498 -r6235 --- branches/unlabeled/unlabeled-1.50.2/core/kernel/session/session.php (.../session.php) (revision 5498) +++ branches/unlabeled/unlabeled-1.50.2/core/kernel/session/session.php (.../session.php) (revision 6235) @@ -412,13 +412,7 @@ function CheckIfCookiesAreOn() { // $this->CheckDuplicateCookies(); - if ($this->Mode == smGET_ONLY || - ( defined('INPORTAL_ENV') && - INPORTAL_ENV && - $this->Application->IsAdmin() - && - !$this->Application->GetVar('front')) - ) + if ($this->Mode == smGET_ONLY) { //we don't need to bother checking if we would not use it $this->CookiesEnabled = false; @@ -528,11 +522,8 @@ break; } } + - if ($this->Application->GetVar('front')) { - $this->CookiesEnabled = false; - } - $this->CachedSID = $sid; return $this->CachedSID; }