summaryrefslogtreecommitdiff
path: root/program/include/session.inc
diff options
context:
space:
mode:
Diffstat (limited to 'program/include/session.inc')
-rw-r--r--program/include/session.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/program/include/session.inc b/program/include/session.inc
index a4952d1e7..8a98fadde 100644
--- a/program/include/session.inc
+++ b/program/include/session.inc
@@ -173,6 +173,7 @@ function sess_regenerate_id()
session_id($random);
$cookie = session_get_cookie_params();
+ setcookie(session_name(), "", time() -3600);
setcookie(session_name(), $random, $cookie['lifetime'], $cookie['path']);
return true;