From 3a65ab5a7f9c33b83fb083f2d80d3585f90cd834 Mon Sep 17 00:00:00 2001 From: jengo Date: Fri, 28 Sep 2001 21:40:45 +0000 Subject: [PATCH] Added passing $sessionid and $kp3 parameters to session->destroy() --- logout.php | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/logout.php b/logout.php index 7887fa30c4..a6723d8dc9 100755 --- a/logout.php +++ b/logout.php @@ -42,15 +42,19 @@ rmdir($GLOBALS['phpgw_info']['server']['temp_dir'] . SEP . $GLOBALS['sessionid']); } $GLOBALS['phpgw']->common->hook('logout'); - $GLOBALS['phpgw']->session->destroy(); + $GLOBALS['phpgw']->session->destroy($GLOBALS['sessionid'],$GLOBALS['kp3']); } else { - $GLOBALS['phpgw']->log->write(array('text'=>'W-VerifySession, could not verify session during logout')); + $GLOBALS['phpgw']->log->write(array( + 'text' => 'W-VerifySession, could not verify session during logout', + 'line' => __LINE__, + 'file' => __FILE__ + )); } Setcookie('sessionid'); Setcookie('kp3'); Setcookie('domain'); $GLOBALS['phpgw']->redirect($GLOBALS['phpgw_info']['server']['webserver_url'].'/login.php?cd=1'); -?> +?> \ No newline at end of file