r7108: display a session expired message
authorAndrew Tridgell <tridge@samba.org>
Mon, 30 May 2005 12:57:59 +0000 (12:57 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:17:17 +0000 (13:17 -0500)
swat/login.esp

index 9b41e2d54e9a552b616ff99288c47c5c3a7759f9..fba1c544dcdc0356c45ee5ff64988a56bd909ccd 100644 (file)
@@ -1,6 +1,11 @@
 <% page_header("plain", "SWAT Login"); %>
 
 <%
+
+if (request['SESSION_EXPIRED'] == "True") {
+   write("<b>Your session has expired - please authenticate again<br>\n");
+}
+
 var f = Form("login", 2, 1);
 f.element[0].label = "Username";
 f.element[0].value = form['Username'];