changeset 613:6fc379f4033d

Session expiration handling made different.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 01 Nov 2014 01:47:06 +0200
parents 1abcb1295d5d
children 7987aa59c2a0
files admajax.php
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/admajax.php	Sat Nov 01 01:25:11 2014 +0200
+++ b/admajax.php	Sat Nov 01 01:47:06 2014 +0200
@@ -487,7 +487,10 @@
 
   stSessionEnd(SESS_ADMIN);
 
-  header("Location: ".stGetSetting("defaultPage"));
+  echo
+    "<h1>Session expired</h1>".
+    "<div><a href=\"admin.php\">Click here to relogin</a>.</div>\n";
+
   exit;
 }