</head>
<body>
{
-# $Id: query.egw,v 1.10 1995/11/08 12:42:17 adam Exp $
+# $Id: query.egw,v 1.12 1995/11/08 18:07:23 adam Exp $
if {[info commands saveState] == ""} {
source z39util.tcl
html "</body></html>\n"
wabort
} elseif {$sessionWait == 0} {
- zwait sessionWait
+ if {[catch {zwait sessionWait 30}]} {
+ html "Cannot connect to target ${host} <br>\n"
+ html "</body></html>\n"
+ z39 disconnect
+ wabort
+ }
if {$sessionWait != 1} {
html "Cannot connect to target ${host} <br>\n"
html "</body></html>\n"
+ z39 disconnect
wabort
}
}
htmlr "</body></html>"
wabort
}
- zwait sessionWait
+ if {[catch {zwait sessionWait 60}]} {
+ htmlr "Cannot initialize with target ${host} <br>"
+ htmlr "</body></html>"
+ wabort
+ }
if {$sessionWait != "1"} {
htmlr "Cannot initialize with target ${host} <br>"
htmlr "</body></html>"
}
set databases [lindex $targets($host) 1]
- html {<form action="http://} $env(SERVER_NAME) $env(SCRIPT_NAME)
+ html {<form action="http:} $env(SCRIPT_NAME)
html / $sessionId {/search.egw/} $setNo {" method=post>} \n
set nodb [llength $databases]
if {$nodb > 1} {
}
<hr><p>
Alternatively you can enter your query in
-<a href="ccl.html"> CCL </a> here: <br>
+<a href="http://www.dtv.dk/ccl.html"> CCL </a> here: <br>
<input type=text name="cclentry" size=52> <br>
<hr>
<h3> Various technical parameters: </h3> <br>
</select>
<br>
<p>
-<input type="submit" value="Send Query">
+<input type=submit value="Search"><input type=reset value="Reset">
</form>
<hr>
This page is maintained by <a href="mailto:pwh@dtv.dk"> Peter Wad Hansen </a>.
<hr>
{
- html {<a href="http://} $env(SERVER_NAME) $env(SCRIPT_NAME)
+ html {<a href="http:} $env(SCRIPT_NAME)
html / $sessionId {/targets.egw"> New target </a>}
}
{