Code

Send us to logout.php after the session has timed out
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 8 Dec 2005 13:18:32 +0000 (13:18 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 8 Dec 2005 13:18:32 +0000 (13:18 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2257 594d385d-05f5-0310-b6e9-bd551577e9d8

html/main.php

index 4a96f4657e356b912a27f80cfdd2c1e9c86fd450..f4ad508e8049e153cfb2ab410cd5ce4894547c2c 100644 (file)
@@ -42,8 +42,8 @@ if ($_SERVER["REQUEST_METHOD"] == "POST"){
 
 /* Logged in? Simple security check */
 if (!isset($_SESSION['config'])){
-  gosa_log ("main.php called without session");
-  header ("Location: index.php");
+  gosa_log ("main.php called without session - logging out");
+  header ("Location: logout.php");
   exit;
 }