From f99ef429874fc6ba4bc644ac8d2cf2a378f6f6f4 Mon Sep 17 00:00:00 2001 From: "GODZilla0480@gmail.com" <> Date: Tue, 28 Feb 2012 09:52:47 +0000 Subject: Fix naming misconception in THttpSession:regenerate --- framework/Web/THttpSession.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'framework/Web/THttpSession.php') diff --git a/framework/Web/THttpSession.php b/framework/Web/THttpSession.php index a36aa659..0aa92254 100644 --- a/framework/Web/THttpSession.php +++ b/framework/Web/THttpSession.php @@ -169,9 +169,8 @@ class THttpSession extends TApplicationComponent implements IteratorAggregate,Ar */ public function regenerate($deleteOld=false) { - $old = $this->getID(); + $old = $this->getSessionID(); session_regenerate_id($deleteOld); - $this->setID(session_id()); return $old; } -- cgit v1.2.3