X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=www%2Fquery.egw;h=a8db8ff559bc3761285cb6a81fed47656096cc37;hb=3b5ea708cd1a08f4ca78f256bc508086967ec58d;hp=e2f94686d5dcaf75c01ec39a6a2e2c62deafead9;hpb=b443634fbd412cea15ea527188c3e241bb1edf21;p=egate.git diff --git a/www/query.egw b/www/query.egw index e2f9468..a8db8ff 100644 --- a/www/query.egw +++ b/www/query.egw @@ -4,7 +4,7 @@
{ -# $Id: query.egw,v 1.11 1995/11/08 16:14:33 adam Exp $ +# $Id: query.egw,v 1.28 1996/01/12 13:08:28 adam Exp $ if {[info commands saveState] == ""} { source z39util.tcl @@ -25,16 +25,18 @@ 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 {[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,8 +44,7 @@ proc ok-response {} { ir z39 } - html "