Attempt to inform user if session has really terminated.
[egate.git] / www / history.egw
index fe8e872..f9360d3 100644 (file)
@@ -1,26 +1,27 @@
 <html>
-<head>
-<title> WWW/Z39.50 Gateway History</title>
-</head>
-<body>
 {
-# $Id: history.egw,v 1.6 1996/03/12 16:30:26 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 0
+    button-new-target
 
     z39history
 
     set useIcons 0
     button-main
-    button-new-target 0
-}
-{
+    button-new-target
+
     catch maintenance
     if {!$debug} return
     html "<hr>\n"