topic.asp
around line #50 find the following:
if request("ARCHIVE") = "true" then
strActivePrefix = strTablePrefix & "A_"
ArchiveView = "true"
ArchiveLink = "ARCHIVE=true&"
else
strActivePrefix = strTablePrefix
ArchiveView = ""
ArchiveLink = ""
end if
replace that entire section of code with the following:if request("ARCHIVE") = "true" then
strActivePrefix = strTablePrefix & "A_"
ArchiveView = "true"
ArchiveLink = "ARCHIVE=true&"
elseif request("ARCHIVE") <> "" then
Response.Redirect "default.asp"
Response.End
else
strActivePrefix = strTablePrefix
ArchiveView = ""
ArchiveLink = ""
end if
Then on line #166 find this: Response.Redirect("topic.asp?ARCHIVE=true&" & Request.QueryString)
and replace it with the following: Response.Redirect("topic.asp?ARCHIVE=true&" & ChkString(Request.QueryString,"SQLString"))