标题:请教个网页重定向的问题
取消只看楼主
yaoyuan
Rank: 1
等 级:新手上路
帖 子:7
专家分:0
注 册:2005-12-2
 问题点数:0 回复次数:0 
请教个网页重定向的问题

a.asp

<%
user=request.from("username")
pass=request.form("password")
city=request.from("city")
if city="北京" then
response.redirect ("b.asp?us=user&ps=pass&city=北京")
end if
if city="上海" then
response.redirect ("b.asp?us=user&ps=pass&city=上海")
end if
%>

我想问一下为什么这样写只能把us=user&ps=pass传过去了而不能把真正获取到的值到b.asp中.是不允許這樣写还是我写的有错误.

搜索更多相关主题的帖子: 网页 
2006-05-25 09:15



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-66956-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 1.281776 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved