Можно передать параметр через server.execute
?
Fx. В моем site.asp
IF-сценарии мне нужно выполнить functions.asp? A = something & id = 123
. Это возможно?!
На site.asp:
dim id
id = 123
if b = "hi" then
server.execute("functions.asp?a=something&id=" & id)
else
response.write("No way dude")
end if
На functions.asp
a = request.querystring("a")
id = request.querystring("id")
if a = "something" and cint(id) > 100 then
response.write("Yes way dude")
else
response.write("No way dude")
end if