X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;ds=sidebyside;f=www%2Fquery.egw;h=88b7cf286c8520ac80d948cb144592fc107da05a;hb=a6e5ecf2a6d6dedf266c5f9d6bc2447a528b199e;hp=48a03ba8f15b3989cc505d178aeed5744f4e6820;hpb=b52740e82ab92e99a6982bf5c99a30ac404bd557;p=egate.git diff --git a/www/query.egw b/www/query.egw index 48a03ba..88b7cf2 100644 --- a/www/query.egw +++ b/www/query.egw @@ -4,7 +4,7 @@
{ -# $Id: query.egw,v 1.15 1995/11/13 15:41:42 adam Exp $ +# $Id: query.egw,v 1.17 1995/11/14 16:01:50 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,43 +50,59 @@ proc ok-response {} { set sessionWait 0 if {[catch {z39 connect $host}]} { - html "Cannot connect to target ${host}