Request.ServerVariables(HTTP_REFERER) 获取方式注意
2012-06-08 16:32
477 查看
下列情况是从浏览器的地址栏正常取得Request.ServerVariables("HTTP_REFERER")的: 1.直接用<a href> 2.用Submit或<input type=image>提交的表单(POST or GET) 3.使用Jscript提交的表单(POST or GET) 下面我们再看看Request.ServerVariables("HTTP_REFERER")不能正常取值的情况: 1.从收藏夹链接 2.单击‘’主页‘’或者自定义的地址 3.利用Jscript的location.href or location.replace() 4.在浏览器直接输入地址 5.<%Response.Redirect%> 6.<%Response.AddHeader%>或<meta http-equiv=refresh>转向 7.用XML加载地址
以上是大家需要注意的地方,具体例子就暂时不举出。有什么不动地方,发留言给我大家一起探讨!
相关文章推荐
- ASP 使用 Request.ServerVariables(HTTP_REFERER) 方法获取请求页面地址的注意事项
- Request.ServerVariables(HTTP_REFERER)&数据提交时注意的问题
- HTTP_REFERER是什么 与 Request.ServerVariables("HTTP_REFERER")的用法(防外连接)
- 关于 Request.ServerVariables("HTTP_REFERER") 运行时会出错的原因
- 关于Request.ServerVariables("HTTP_REFERER")
- Request.ServerVariables(”HTTP_REFERER”)防止下载盗链
- Request.ServerVariables(HTTP_REFERER) 适用和不适用的情况
- $_SERVER['HTTP_REFERER'] 获取前一页面的 URL 地址注意事项
- Request.ServerVariables(HTTP_REFERER)
- Request.ServerVariables("HTTP_REFERER")的工作方式
- Request.ServerVariables(”HTTP_REFERER”)防止下载盗链
- :Request.ServerVariables("HTTP_REFERER")的工作方式
- Request.ServerVariables["HTTP_REFERER"]
- Request.ServerVariables("HTTP_REFERER")不能使用
- 程序中无法获得Request.ServerVariables("HTTP_REFERER")的值,寻求解决方法~~~~
- ASP解决 request.ServerVariables("HTTP_REFERER") 乱码
- Request.ServerVariables(HTTP_REFERER)
- Request.ServerVariables("HTTP_REFERER")的工作方式
- Request.ServerVariables 获取方法总结
- Request.ServerVariables获取环境变量