此方法主要用来掉线后重登陆再返回
out_url1=Request.ServerVariables ("SCRIPT_NAME")
i=0
for each thing in Request.QueryString
x= Request.QueryString (thing)
if i=0 then
out_url1=out_url1&"?"&thing&"="&x
else
out_url1=out_url1&"&"&thing&"="&x
end if
i=i+1
next
response.redirect "xxx.asp?x=正在掉线路上&y=重新登录&out_url="&out_url1
Response.End
返回到本页的方法:
out_url= Request.QueryString ("out_ur1")
response.redirect out_url
out_url1=Request.ServerVariables ("SCRIPT_NAME")
i=0
for each thing in Request.QueryString
x= Request.QueryString (thing)
if i=0 then
out_url1=out_url1&"?"&thing&"="&x
else
out_url1=out_url1&"&"&thing&"="&x
end if
i=i+1
next
response.redirect "xxx.asp?x=正在掉线路上&y=重新登录&out_url="&out_url1
Response.End
返回到本页的方法:
out_url= Request.QueryString ("out_ur1")
response.redirect out_url