Index: branches/5.0.x/core/kernel/session/session.php =================================================================== diff -u -r12368 -r12369 --- branches/5.0.x/core/kernel/session/session.php (.../session.php) (revision 12368) +++ branches/5.0.x/core/kernel/session/session.php (.../session.php) (revision 12369) @@ -1,6 +1,6 @@ SID = $this->CachedSID = ''; $this->SessionSet = false; -// if ($this->CookiesEnabled) { - // remove cookie, because we will have fake session and it should be getting sid left in cookies + if ($this->CookiesEnabled) { $this->SetSessionCookie(); //will remove the cookie due to value (sid) is empty -// } + } $this->SetSession(true); //will create a new session, true to force } Index: branches/5.0.x/core/kernel/session/inp_session.php =================================================================== diff -u -r12368 -r12369 --- branches/5.0.x/core/kernel/session/inp_session.php (.../inp_session.php) (revision 12368) +++ branches/5.0.x/core/kernel/session/inp_session.php (.../inp_session.php) (revision 12369) @@ -1,6 +1,6 @@ Data = new Params(); $this->SID = $this->CachedSID = ''; -// if ($this->CookiesEnabled) { - // remove cookie, because we will have fake session and it should be getting sid left in cookies + if ($this->CookiesEnabled) { $this->SetSessionCookie(); //will remove the cookie due to value (sid) is empty -// } + } $this->SetSession(); //will create a new session }