Index: branches/RC/core/kernel/session/session.php =================================================================== diff -u -N -r9639 -r9643 --- branches/RC/core/kernel/session/session.php (.../session.php) (revision 9639) +++ branches/RC/core/kernel/session/session.php (.../session.php) (revision 9643) @@ -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'); @@ -418,7 +418,7 @@ $this->Checkers = Array(); $this->InitStorage($special); - $this->Data =& new Params(); + $this->Data = new Params(); $tmp_sid = $this->GetPassedSIDValue(); @@ -734,7 +734,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