From 60504d03e9c03ac39809bc2854cb84494b883376 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 26 Jan 2006 06:39:45 +0000 Subject: [PATCH] Fixed relog problem git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2582 594d385d-05f5-0310-b6e9-bd551577e9d8 --- html/index.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/html/index.php b/html/index.php index f11f8514a..0aa550a17 100644 --- a/html/index.php +++ b/html/index.php @@ -127,6 +127,11 @@ if ($_SERVER["REQUEST_METHOD"] == "POST" && isset($_POST['login'])){ /* Reset error messages */ $message= ""; + /* Destroy old sessions, they cause a successfull login to relog again ...*/ + if(isset($_SESSION['_LAST_PAGE_REQUEST'])){ + $_SESSION['_LAST_PAGE_REQUEST'] = time(); + } + $server= validate($_POST["server"]); $config->set_current($server); -- 2.30.2