Index: branches/RC/core/kernel/session/session.php =================================================================== diff -u -r9259 -r9286 --- branches/RC/core/kernel/session/session.php (.../session.php) (revision 9259) +++ branches/RC/core/kernel/session/session.php (.../session.php) (revision 9286) @@ -41,7 +41,7 @@ Usage: -$session =& new Session(smAUTO); //smAUTO is default, you could just leave the brackets empty, or provide another mode +$session = new Session(smAUTO); //smAUTO is default, you could just leave the brackets empty, or provide another mode $session->SetCookieDomain('my.domain.com'); $session->SetCookiePath('/myscript'); @@ -402,7 +402,7 @@ $this->Checkers = Array(); $this->InitStorage($special); - $this->Data =& new Params(); + $this->Data = new Params(); $tmp_sid = $this->GetPassedSIDValue(); @@ -718,7 +718,7 @@ function Destroy() { $this->Storage->DeleteSession($this); - $this->Data =& new Params(); + $this->Data = new Params(); $this->SID = ''; if ($this->CookiesEnabled) $this->SetSessionCookie(); //will remove the cookie due to value (sid) is empty $this->SetSession(); //will create a new session