X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=www%2Fquery.egw;h=19d74c80eedd7115c3b488a222a46eb5e560a127;hb=93f1ce56fdda46fe894bed7aa1f1516a8d08957f;hp=8f816bef125a779445d071e64038c52531238a59;hpb=6315a552d51ac08b60d25d8500da5574a83ba530;p=egate.git diff --git a/www/query.egw b/www/query.egw index 8f816be..19d74c8 100644 --- a/www/query.egw +++ b/www/query.egw @@ -4,7 +4,7 @@ { -# $Id: query.egw,v 1.10 1995/11/08 12:42:17 adam Exp $ +# $Id: query.egw,v 1.13 1995/11/09 17:31:04 adam Exp $ if {[info commands saveState] == ""} { source z39util.tcl @@ -55,10 +55,16 @@ proc ok-response {} { html "\n" wabort } elseif {$sessionWait == 0} { - zwait sessionWait + if {[catch {zwait sessionWait 30}]} { + html "Cannot connect to target ${host}
\n" + html "\n" + z39 disconnect + wabort + } if {$sessionWait != 1} { html "Cannot connect to target ${host}
\n" html "\n" + z39 disconnect wabort } } @@ -69,7 +75,11 @@ proc ok-response {} { htmlr "" wabort } - zwait sessionWait + if {[catch {zwait sessionWait 60}]} { + htmlr "Cannot initialize with target ${host}
" + htmlr "" + wabort + } if {$sessionWait != "1"} { htmlr "Cannot initialize with target ${host}
" htmlr "" @@ -78,7 +88,7 @@ proc ok-response {} { } set databases [lindex $targets($host) 1] - html {
} \n set nodb [llength $databases] if {$nodb > 1} { @@ -126,9 +136,10 @@ proc ok-response {} { }

Alternatively you can enter your query in - CCL here:
+ CCL here:


+

Various technical parameters:


Max hits: Records are shown in: @@ -140,7 +151,6 @@ Records are shown in:

-


This page is maintained by Peter Wad Hansen . @@ -150,7 +160,7 @@ and will continue to be so until the end of December 1995.
{ - html { New target } } {