Attempt to inform user if session has really terminated.
[egate.git] / www / history.egw
index 4c18e79..f9360d3 100644 (file)
@@ -1,15 +1,17 @@
 <html>
-<head>
-<title> WWW/Z39.50 Gateway History</title>
-</head>
-<body>
 {
-# $Id: history.egw,v 1.7 1996/03/13 14:07:29 adam Exp $
+# $Id: history.egw,v 1.8 1996/03/14 11:50:44 adam Exp $
 
     if {[info commands saveState] == ""} {
         source z39util.tcl
+        if {![info exists debug]} {
+            session-lost
+            egw_abort
+        }
     }
 
+    html {<head><title> WWW/Z39.50 Gateway History</title></head><body>}
+
     set useIcons 1
     button-main
     button-new-target
@@ -19,8 +21,7 @@
     set useIcons 0
     button-main
     button-new-target
-}
-{
+
     catch maintenance
     if {!$debug} return
     html "<hr>\n"