在什么情况下,HTTP_REFERER为空 [英] In what cases will HTTP_REFERER be empty
本文介绍了在什么情况下,HTTP_REFERER为空的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我知道可以得到一个空的HTTP_REFERER。在什么情况下会发生这种情况?如果我得到一个空的,它总是意味着用户改变了吗?得到一个空的和一个空的一样吗?
I know it's possible to get an empty HTTP_REFERER. Under what circumstances does this happen? If I get an empty one, does it always mean that the user changed it? Is getting an empty one the same as getting a null one? and under what circumstances do I get that too?
推荐答案
当最终用户
- 在浏览器地址栏中输入了网站网址。
- 通过浏览器维护的书签访问了该网站。 >
- 已将网站作为第一页在窗口/标签中访问。
- 从https网址切换到http网址。
- 从https网址切换到其他https网址。
- 安装了安全软件(防病毒/防火墙等),可从所有请求中剥离引荐来源网址。 $ b $
- 以编程方式访问网站(例如 curl ),而不设置引荐来源网页标头(searchbots!)。
- entered the site URL in browser address bar itself.
- visited the site by a browser-maintained bookmark.
- visited the site as first page in the window/tab.
- switched from a https URL to a http URL.
- switched from a https URL to a different https URL.
- has security software installed (antivirus/firewall/etc) which strips the referrer from all requests.
- is behind a proxy which strips the referrer from all requests.
- visited the site programmatically (like, curl) without setting the referrer header (searchbots!).
这篇关于在什么情况下,HTTP_REFERER为空的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文