From aa5e053ac89b4e47ea55e7c843bab8dee6fa5f5d Mon Sep 17 00:00:00 2001 From: x2000habouzit Date: Sun, 22 Aug 2004 21:03:57 +0000 Subject: [PATCH] bug in cookie off : session problem, has to redirect on index.php --- htdocs/cookie_off.php | 1 + 1 file changed, 1 insertion(+) diff --git a/htdocs/cookie_off.php b/htdocs/cookie_off.php index df7aa71..61f6f49 100644 --- a/htdocs/cookie_off.php +++ b/htdocs/cookie_off.php @@ -10,6 +10,7 @@ $_SESSION['log']->log("cookie_off"); if(!identified()) { session_destroy(); $_SESSION = array(); + header("Location: index.php"); } $page->run(); -- 2.1.4