bug in cookie off : session problem, has to redirect on index.php
authorx2000habouzit <x2000habouzit>
Sun, 22 Aug 2004 21:03:57 +0000 (21:03 +0000)
committerx2000habouzit <x2000habouzit>
Sun, 22 Aug 2004 21:03:57 +0000 (21:03 +0000)
htdocs/cookie_off.php

index df7aa71..61f6f49 100644 (file)
@@ -10,6 +10,7 @@ $_SESSION['log']->log("cookie_off");
 if(!identified()) {
     session_destroy();
     $_SESSION = array();
+    header("Location: index.php");
 }
 
 $page->run();