X-Git-Url: http://lists.indexdata.dk/cgi-bin?a=blobdiff_plain;f=www%2Fquery.egw;h=a5b874e377a07ff11308e28a7059f596db61db9e;hb=71ad5b6272d0bc6320bea6c1ec10f5e10bbfe8ef;hp=152af070a060b4bad42caa2e15286542b0882360;hpb=3d4b6045b8875099666b99edbf1457c91b5da928;p=egate.git diff --git a/www/query.egw b/www/query.egw index 152af07..a5b874e 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.26 1996/01/08 08:42:15 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 "