X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=www%2Fquery.egw;h=d2280abb6e57f6a1a2a809cf3564d6aee7526993;hb=4938d0c2e8f4e1eec397c2bfbbc7e23fd150c369;hp=16856a1e6ac7f0af4d2baf42428151b87b0b73f1;hpb=08bfab7afb8434ac41b68223e4368a1e62333973;p=egate.git diff --git a/www/query.egw b/www/query.egw index 16856a1..d2280ab 100644 --- a/www/query.egw +++ b/www/query.egw @@ -4,7 +4,7 @@
{ -# $Id: query.egw,v 1.22 1996/01/02 15:34:08 adam Exp $ +# $Id: query.egw,v 1.35 1996/03/07 12:46:08 adam Exp $ if {[info commands saveState] == ""} { source z39util.tcl @@ -25,85 +25,99 @@ proc ok-response {} { global hist set host [lindex $sessionParms 0] + set initSet [lindex $sessionParms 1] + set scanLine [lindex $sessionParms 2] + set scanTerm [lrange $sessionParms 3 end] if {[catch {set setNo $nextSetNo}]} { set nextSetNo 1 set setNo 1 } - if {[catch {set oldHost [z39 connect]}]} { + if {[catch {set oldHost [z390 connect]}]} { set oldHost "" } - set hist($setNo,host) $host - set hist($setNo,idAuthentication) [lindex $targets($host) 3] + set hist($setNo,0,host) $host + set hist($setNo,0,idAuthentication) [lindex $targets($host) 3] - if {[catch {z39 failback fail-response}]} { - ir z39 - } - - html "