Code

Fixed logout problem. Every time you log out, you were going to get into the session...
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 9 May 2006 12:34:53 +0000 (12:34 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 9 May 2006 12:34:53 +0000 (12:34 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3235 594d385d-05f5-0310-b6e9-bd551577e9d8

html/main.php
ihtml/themes/default/framework.tpl

index 2ae93bc3c554dcbc84c5c8e1f7933e118e994a6d..160017b6b9e3cd3bb5cd71227a3652d1fab4f904 100644 (file)
@@ -47,10 +47,6 @@ ini_set("session.gc_maxlifetime",24*60*60);
 /* Remember everything we did after the last click */
 session_start ();
 
-if(ini_get("session.gc_maxlifetime")){
-  
-}
-
 if ($_SERVER["REQUEST_METHOD"] == "POST"){
   @DEBUG (DEBUG_POST, __LINE__, __FUNCTION__, __FILE__, $_POST, "_POST");
 }
index 34f578319e9d695d4a636fda758a4f2b6d846f61..5fdfa2a9df68d3d9e73098e93fc42da2d8dd75f8 100644 (file)
@@ -21,7 +21,7 @@
          </a>
        </td>
        <td>
-        <a class="maintitlebar" href='logout.php?request' onClick='return question("{t}You are currently editing a database entry. Do you want to dismiss the changes?{/t}", "logout.php");' style="margin-left:35px;">
+        <a class="maintitlebar" href='logout.php?request' onClick='return question("{t}You are currently editing a database entry. Do you want to dismiss the changes?{/t}", "logout.php?request");' style="margin-left:35px;">
           <img src='{$go_out}' class='center' border="0" alt="Sign out">&nbsp;{t}Sign out{/t}
          </a>
        </td>