哎呀,又有个问题了,那就是可不可以从2个页面进入啊?

qjx6531 2009-11-15 10:07:59
刚才提问了怎样从指定页进入页面,感谢--hs912---哥们。现在又有个新问题了。
指定了从上一页进入,那就不能从其他页面进入了,管理完成了那怎么办啊,回不去了。可不可以从2个指定页面进入啊?
<%
Dim Ref
Ref=LCase(Request.ServerVariables("http_referer"))
if inStr(Ref,"http://localhost/ceshi/1111.asp and http://localhost/ceshi/untitled/1111.asp") <=0 then
Response.Redirect "a.asp"
end if
%>
怎么修改这段代码。
...全文
50 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
qjx6531 2009-11-15
  • 打赏
  • 举报
回复
<%
Dim Ref
Ref=LCase(Request.ServerVariables("http_referer"))
if inStr(Ref,"http://localhost/ceshi/1111.asp") <>0 then

Elseif inStr (Ref,"http://localhost/ceshi/untitled/1111.asp") <>0 then
Elseif inStr (Ref,"http://localhost/ceshi/untitled/1122.asp") <=0 then
Response.Redirect "a.asp"
end if
%>
这样要多少个页就可以有多少个页。哈哈哈哈。拿出来给想要的看看。
qjx6531 2009-11-15
  • 打赏
  • 举报
回复
我现在自己改好了,嘿嘿

28,406

社区成员

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

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