Http_reffer

下列情况是从浏览器的地址栏正常取得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加载地址

原文地址:https://www.cnblogs.com/jackhuclan/p/883931.html