diff options
author | GODZilla0480@gmail.com <> | 2012-02-28 09:52:47 +0000 |
---|---|---|
committer | GODZilla0480@gmail.com <> | 2012-02-28 09:52:47 +0000 |
commit | f99ef429874fc6ba4bc644ac8d2cf2a378f6f6f4 (patch) | |
tree | bd22674d0c529eb63820f2d3fb26c85d7ea5318d /framework/Web | |
parent | 2c497f6b0136bf77cdf0c3fd700d8213735df5b5 (diff) |
Fix naming misconception in THttpSession:regenerate
Diffstat (limited to 'framework/Web')
-rw-r--r-- | framework/Web/THttpSession.php | 3 |
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;
}
|