那是ASP处理的事情
if 身份 = "X" then
response.redirect("2.asp?id=X")
end if
if 身份 = "X" then
response.redirect("2.asp?id=X")
end if
解决方案 »
- 关于拖动的效果,感谢Crying_Boy,请大家多多赐教,拖动做出类Dropdownlist效果!
- Google地图API使用次数限制问题
- 点击列表框后给文本框赋值_报错
- 关于jQury 集思广益处
- 如何調用子窗口的方法
- 请问怎样实现将鼠标移到下拉框的某项上时,就显示该下拉框项的提示信息?
- 如何使用substring方法加递归实现呢 ?
- 怎么样实现post方式把参数传递到window.open新开页面中(不用get,是因为我传递参数容量太大)???
- 求教调用桌面快捷方式的方法
- js传递参数的问题
- 如何在表单中禁止 一按 “回车” 就提交表单 !!!!!!!!!!!!
- 请教一个showmodeldialog的问题
在index.asp中:
<%
dim goUrl = "1.asp?id=";
dim usr = Request("userName");
if usr = "X" then goUrl = "2.asp?id=" end if
goUrl += usr;
%>
<iframe name="left" src="<%=goUrl%>" ></iframe>
dim goUrl = "1.asp?id=";
dim usr = Request("userName");
if usr = "X" then goUrl = "2.asp?id=" end if
goUrl += usr;
response.redirect(goUrl)
%>