X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;ds=inline;f=www%2Fquery.egw;h=4d3d3656d64c920e3e596a6717960614f27ee368;hb=6c6f3deb01675917b3c73cca50dd20d738593a47;hp=152af070a060b4bad42caa2e15286542b0882360;hpb=3d4b6045b8875099666b99edbf1457c91b5da928;p=egate.git diff --git a/www/query.egw b/www/query.egw index 152af07..4d3d365 100644 --- a/www/query.egw +++ b/www/query.egw @@ -4,7 +4,7 @@
{ -# $Id: query.egw,v 1.12 1995/11/08 18:07:23 adam Exp $ +# $Id: query.egw,v 1.16 1995/11/13 18:17:47 adam Exp $ if {[info commands saveState] == ""} { source z39util.tcl @@ -26,15 +26,14 @@ proc ok-response {} { set host [lindex $sessionParms 0] - if {[info exists setNo]} { - set oldHost $hist($setNo,host) - } else { - set oldHost "" - } if {[catch {set setNo $nextSetNo}]} { set nextSetNo 1 set setNo 1 } + if {[catch {set oldHost [z39 connect]}]} { + set oldHost "" + } + set hist($setNo,host) $host set hist($setNo,idAuthentication) [lindex $targets($host) 3] @@ -51,18 +50,19 @@ proc ok-response {} { set sessionWait 0 if {[catch {z39 connect $host}]} { - html "Cannot connect to target ${host}