如何控制一个网站必须从某一个页面进入(内空)

sungoodnews 2002-06-18 08:50:46
如何控制一个网站必须从某一个页面进入
...全文
49 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
sungoodnews 2002-06-18
  • 打赏
  • 举报
回复
beyond_xiruo(希偌)说说:
Request.ServerVariables("HTTP_REFERER")能够获得什么信息?
gzj0815 2002-06-18
  • 打赏
  • 举报
回复
在每一页的页头加一个程序,比如都让访问者输入密码后再进入,我在每页都加上<%
uid=request.cookies("uid")
pwd=request.cookies("pwd")
if uid="" or pwd="" then response.redirect "login.htm"
%>
就很方便
sungoodnews 2002-06-18
  • 打赏
  • 举报
回复
哈!找到了,昨天晚上头晕怎么忘了?
<script>
if (top.location==self.location){
top.location="index.asp"
}
</script>
希偌 2002-06-18
  • 打赏
  • 举报
回复
Request.ServerVariables("HTTP_REFERER")

28,390

社区成员

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

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