【取出所有数据】取出所有的传递参数短方法--->实现有效的重定向

更新时间:2013-12-21    来源:安卓教程    手机版     字体:

【www.bbyears.com--安卓教程】

此方法主要用来掉线后重登陆再返回
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

本文来源:http://www.bbyears.com/shoujikaifa/2863.html

热门标签

更多>>

本类排行