summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
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();