summaryrefslogtreecommitdiff
path: root/program/include/session.inc
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2007-11-06 18:24:25 +0000
committerthomascube <thomas@roundcube.net>2007-11-06 18:24:25 +0000
commite4867ea740cd0d03acb65fdc7a93f7764cc711b2 (patch)
treebc7328f4a8573a212462affb134ae8f5072c8244 /program/include/session.inc
parentff0566bce5e960143a954e2c1356894a31e4f739 (diff)
Fix bugs #1484555, #1484646 and #1484639
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;