summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authorsvncommit <devs@roundcube.net>2009-05-12 14:10:30 +0000
committersvncommit <devs@roundcube.net>2009-05-12 14:10:30 +0000
commitf22c2cefb4c7f8b1a995d5de6f706d49861c473c (patch)
tree3985c457e3bbdb406e728add1f3e42807433d88d /program
parent617b4f699f2e47991c50e05528b1f9ecbc3c3d9c (diff)
Really, really logout (fixes r2467).
Diffstat (limited to 'program')
-rw-r--r--program/include/rcmail.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/program/include/rcmail.php b/program/include/rcmail.php
index 45b59ae49..1443617c4 100644
--- a/program/include/rcmail.php
+++ b/program/include/rcmail.php
@@ -793,6 +793,8 @@ class rcmail
*/
public function kill_session()
{
+ foreach (array_keys($_SESSION) as $var)
+ rcube_sess_unset($var);
$_SESSION = array('language' => $this->user->language, 'auth_time' => time(), 'temp' => true);
rcmail::setcookie('sessauth', '-del-', time() - 60);
$this->user->reset();