]> git.datanom.net - qtadmin.git/blobdiff - lib/utils.inc.php
Fix bug in session handler
[qtadmin.git] / lib / utils.inc.php
index c90b98bfb89b32a22fb6da9303b8dd0c51fff11e..4645e2431c25fc23885d5e9cb59407ad18d7083f 100644 (file)
@@ -110,7 +110,7 @@ class Utils implements Serializable {
         if (isset($_SESSION['LAST_ACTIVITY']) &&
                 ($time - $_SESSION['LAST_ACTIVITY']) >= self::$_instance->timeout) {
             echo 'R_TIME: '.date('c', $time).' L_ACT: '.date('c', $_SESSION['LAST_ACTIVITY']);
-            exit;
+            //exit;
             session_unset();
             session_destroy();
             self::$_instance->user = null;
@@ -219,7 +219,7 @@ class Utils implements Serializable {
         if ($loggedIn == false) {
             echo '$this->user: '.$this->user.' $_SESSION[\'user\']: '.$_SESSION['user'];
             echo 'R_TIME: '.date('c', $_SERVER['REQUEST_TIME']).' L_ACT: '.date('c', $_SESSION['LAST_ACTIVITY']);
-            exit;
+            //exit;
         }
 
         $_SESSION['Utils'] = serialize($this);
This page took 0.041178 seconds and 5 git commands to generate.