summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 08c1896)
raw | patch | inline | side by side (parent: 08c1896)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 13 Jul 2006 04:08:45 +0000 (04:08 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 13 Jul 2006 04:08:45 +0000 (04:08 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4132 594d385d-05f5-0310-b6e9-bd551577e9d8
html/index.php | patch | blob | history |
diff --git a/html/index.php b/html/index.php
index 16e0c94beed5f4894395637e31082c630b3286d4..3cd6509f0fff8aecc67a961d68269b652a1fc6ad 100644 (file)
--- a/html/index.php
+++ b/html/index.php
/* Set error handler to own one, initialize time calculation
and start session. */
session_start ();
+
+/* Destroy old session if exists.
+ Else you will get your old session back, if you not logged out correctly. */
+if(is_array($_SESSION) && count($_SESSION)){
+ session_destroy();
+ session_start();
+}
+
$username= "";
/* Reset errors */