From 438d01c4aacb258095f3091caf9ec60ac779ef32 Mon Sep 17 00:00:00 2001 From: seek3r Date: Thu, 5 Oct 2000 07:11:49 +0000 Subject: [PATCH] fixed problem with leaving cookies mode. --- login.php | 2 ++ logout.php | 2 ++ 2 files changed, 4 insertions(+) diff --git a/login.php b/login.php index 2d94dec215..93515b6cfc 100755 --- a/login.php +++ b/login.php @@ -71,6 +71,8 @@ return "" . lang("Bad login or password") . ""; break; case "10": + Setcookie("sessionid"); + Setcookie("kp3"); return "" . lang("Your session could not be verified.") . ""; break; default: diff --git a/logout.php b/logout.php index 914636c933..0c4f634e81 100755 --- a/logout.php +++ b/logout.php @@ -56,6 +56,8 @@ } $phpgw->session->destroy(); } + Setcookie("sessionid"); + Setcookie("kp3"); Header("Location: " . $phpgw_info["server"]["webserver_url"] . "/login.php?cd=1"); ?> \ No newline at end of file