3 # $Id: sameas.egw,v 1.1 1996/03/07 12:46:08 adam Exp $
4 if {[info commands saveState] == ""} {
9 set setNo [lindex $sessionParms 0]
10 set targetNo [lindex $sessionParms 1]
11 set startPos [lindex $sessionParms 2]
12 set endPos [lindex $sessionParms 3]
13 set docId [lindex $sessionParms 4]
15 if {[info exists hist(setNoT,docId$docId)]} {
16 set setNo $hist(setNoT,docId$docId)
18 set hist($nextSetNo,$targetNo,idAuthentication) \
19 $hist($setNo,$targetNo,idAuthentication)
20 set hist($nextSetNo,$targetNo,host) \
21 $hist($setNo,$targetNo,host)
22 set hist($nextSetNo,$targetNo,database) \
23 $hist($setNo,$targetNo,database)
27 set hist($setNo,scan) 0
29 for {set i 1} {$i <= 3} {incr i} {
30 set hist($setNo,form,menu$i) {}
31 set hist($setNo,form,entry$i) {}
32 set hist($setNo,form,logic$i) {}
34 set host $hist($setNo,$targetNo,host)
36 html "<head><title> WWW/Z39.50 Gateway Search Feedback "
37 html [splitHostSpec $host]
39 html "</head><body>\n"
41 set hist($setNo,$targetNo,query) {}
42 set hist($setNo,$targetNo,queryId) $docId
43 egw_log debug "In sameas: got docID $docId"
44 display-result-set-s $setNo $targetNo $startPos $endPos