aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Web/Session.php
diff options
context:
space:
mode:
Diffstat (limited to 'Zotlabs/Web/Session.php')
-rw-r--r--Zotlabs/Web/Session.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/Zotlabs/Web/Session.php b/Zotlabs/Web/Session.php
index 68af74521..0cd83c15e 100644
--- a/Zotlabs/Web/Session.php
+++ b/Zotlabs/Web/Session.php
@@ -77,10 +77,7 @@ class Session {
session_regenerate_id(false);
if(self::$handler) {
- $v = q("UPDATE session SET sid = '%s' WHERE sid = '%s'",
- dbesc(session_id()),
- dbesc($old_sid)
- );
+ self::$handler->rename($old_sid,session_id());
}
else
logger('no session handler');