summaryrefslogtreecommitdiff
path: root/framework/Web
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web')
-rw-r--r--framework/Web/THttpSession.php3
1 files changed, 1 insertions, 2 deletions
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;
}