知识库

取出所有的传递参数短方法

来源: 本站    类别: 知识库    日期: 2015/6/1

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


相关文章


Copyright © 2004 - 2024 CNHWW Inc. All Rights Reserved
石家庄市征红网络科技有限公司版权所有 邮政编码:050051
服务电话:0311-85315152 13931185013 在线客服QQ:81447932 / 81447933 邮箱: cnhww@163.com