X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=www%2Fquery.egw;h=16856a1e6ac7f0af4d2baf42428151b87b0b73f1;hb=08bfab7afb8434ac41b68223e4368a1e62333973;hp=152af070a060b4bad42caa2e15286542b0882360;hpb=3d4b6045b8875099666b99edbf1457c91b5da928;p=egate.git diff --git a/www/query.egw b/www/query.egw index 152af07..16856a1 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.22 1996/01/02 15:34:08 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] @@ -42,7 +41,7 @@ proc ok-response {} { ir z39 } - html "