无奈 关于跳转 马上给分

月小升java-er点com 2003-07-04 12:55:05
做论坛 要登陆后自动跳转
b_dist.asp?z_id=1&id=5
-------------------------------------------
response.redirect "b_dist.asp?z_id= &id= "

想要获得参数 那位有高招
...全文
68 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
wellwelcome 2003-07-04
  • 打赏
  • 举报
回复

z_id=request("z_id")
id=request("id")

response.redirect "b_dist.asp?z_id=" & z_id & "&id=" & id
inanition 2003-07-04
  • 打赏
  • 举报
回复

如果你是要引用当前页面上的所有参数,用下面这句试试:

 response.redirect "b_dist.asp?" & request.ServerVariables("QUERY_STRING")

-----------------------------------

QUERY_STRING
 Query information stored in the string following the question mark (?) in the HTTP request.

  • 打赏
  • 举报
回复
要用session :)
zhouye411 2003-07-04
  • 打赏
  • 举报
回复
request.QueryString.Item("z_id")
request.QueryString.Item("id")

28,391

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧