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