Request.ServerVariables(" HTTP_REFERER") - 发生了什么? [英] Request.ServerVariables("HTTP_REFERER") - What is going on?

查看:65
本文介绍了Request.ServerVariables(" HTTP_REFERER") - 发生了什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


我尝试在脚本中使用Request.ServerVariables(" HTTP_REFERER")并且我发现它不是b $ b按预期工作。

我使用带SP2的XP,我在网站上创建了一个指向asp

页面的链接,该页面应显示引用者。

我在 www.eleader.com.au/linkref上放置了一个链接.html 并且有一个链接

指向 www.monitortest.net/referer.asp

当我在XP SP2上使用我的电脑时,点击第一个链接,我得不到

引荐。但是当我从同一个位置使用我的XP SP1计算机时,我得到了

referer URL。

发生什么事了? SP2是否剥离了引用者信息?为什么?在这种情况下,我们应该如何识别引用者?


问候,

Nicolae

解决方案

这将被视为供您参考。用户代理商可以免费提供或不提供此信息。


Patrice


-


" Nicolae Fieraru" <无**** @ please.com>一个écritdansle message de

news:42 ******** @ duster.adelaide.on.net ...

大家好,

我尝试在脚本中使用Request.ServerVariables(" HTTP_REFERER")并且我发现它没有按预期工作。
我使用XP SP2和我创建了一个链接到一个网站,指向一个
asp页面,该页面应该显示引用者。
我在 www.eleader.com.au/linkref.html 并且有一个链接
指向 www.monitortest.net/referer.asp
当我在XP SP2上使用我的电脑时,我点击了第一个链接,我得到
没有引用。但是当我从同一个位置使用我的XP SP1计算机时,我得到
的引用URL。
发生了什么? SP2是否剥离了引用者信息?为什么?在这种情况下,我们应该如何确定引用者?

问候,
Nicolae


我尝试使用Win XP SP2在系统上使用三种不同的浏览器(IE,Netscape,Opera),并且没有传递任何信息。对于表现不佳的用户代理来说,这不是
。在没有SP2的系统上(并且没有

诺顿网络安全保护,以防万一我可以看到参考者。


Regard

Nicolae


" Patrice" no **** @ nowhere.com>写在留言中

news:eG ******* ******* @ tk2msftngp13.phx.gbl ...

这将被视为供您参考。用户代理可以自由提供或不提供此信息信息。

Patrice

-

Nicolae Fieraru< no **** @ please.com>aécritdansle消息de
新闻:42 ******** @ duster.adelaide.on.net ...

大家好,

我试着在脚本中使用Request.ServerVariables(" HTTP_REFERER")并且我发现它没有按预期工作。
我使用XP SP2,我在网站上创建了一个链接指向一个


asp

页面应该显示引用者。
我放了al www.eleader.com.au/linkref.html 上的墨迹有一个链接
指向 www.monitortest.net/referer.asp
当我在XP SP2上使用我的电脑时,点击第一个链接,我得


没有

referer。但是当我从同一个位置使用我的XP SP1计算机时,我得到


referer URL。
发生了什么? SP2是否剥离了引用者信息?为什么?

我们应该在这种情况下确定引用者吗?

问候,
Nicolae




在特殊情况下你试试解决这个问题吗?我想指出这个

是一个可选信息,如果你想要这些信息始终可用,你就会遇到问题...


尝试例如:
http://wordpress.org/support/topic.php?id=23942


在您的特定情况下,我相信我之前已经看过这个

关闭诺顿的小组解决了问题(上面的链接似乎也说明了

所以)...


Patrice


-


" Nicolae Fieraru" <无**** @ please.com>一个écritdansle message de

news:42 ******** @ duster.adelaide.on.net ...

我尝试了三种不同的浏览器(IE,Netscape,Opera)在系统上使用Win XP SP2并且没有一个传递了反馈信息。它不是表现糟糕的用户代理。在没有SP2的系统上(并且没有诺顿网络安全版以防万一我可以看到参考者。

关于
Nicolae

Patrice ;< no **** @ nowhere.com>在消息中写道
新闻:eG ************** @ tk2msftngp13.phx.gbl ...

这将被视为供您参考。用户代理可以免费提供或不提供此信息。

Patrice

- -

Nicolae Fieraru< no **** @ please.com>aécritdansle message de
新闻:42 ******** @ duster。 adelaide.on.net ...

大家好,

我尝试在脚本中使用Request.ServerVariables(" HTTP_REFERER")并且我发现了
它没有按预期工作。
我使用XP SP2,我在网站上创建了一个指向


asp

页面的链接应该显示引用者。
我在 www.eleader.com.au/linkref.html 并且有一个指向
的链接到 www.monitortest.net/referer.asp
当我使用我的电脑和XP SP2,然后点击第一个链接,我


得到没有

referer。但是,当我从同一位置使用我的XP SP1计算机时,我


获取

referer URL。
发生了什么? SP2是否剥离了引用者信息?为什么?

我们应该在这种情况下确定引用者吗?

问候,
Nicolae





Hi All,

I try to use Request.ServerVariables("HTTP_REFERER") in a script and I
discovered it doesn''t work as expected.
I use XP with SP2 and I created a link on a web site which points to an asp
page which should show the referer.
I placed a link on www.eleader.com.au/linkref.html and there is a link
pointing to www.monitortest.net/referer.asp
When I use my computer with XP SP2, and I click on the first link, I get no
referer. But when I use my XP SP1 computer from the same location, I get the
referer URL.
What is going on? Does the SP2 strip the referer information? Why? How are
we supposed to identify the referer in this case?

Regards,
Nicolae

解决方案

This is to be taken as "for your information". User agents are free to
provide or not this information.

Patrice

--

"Nicolae Fieraru" <no****@please.com> a écrit dans le message de
news:42********@duster.adelaide.on.net...

Hi All,

I try to use Request.ServerVariables("HTTP_REFERER") in a script and I
discovered it doesn''t work as expected.
I use XP with SP2 and I created a link on a web site which points to an asp page which should show the referer.
I placed a link on www.eleader.com.au/linkref.html and there is a link
pointing to www.monitortest.net/referer.asp
When I use my computer with XP SP2, and I click on the first link, I get no referer. But when I use my XP SP1 computer from the same location, I get the referer URL.
What is going on? Does the SP2 strip the referer information? Why? How are
we supposed to identify the referer in this case?

Regards,
Nicolae



I tried with three different browsers (IE, Netscape, Opera) on the system
with Win XP SP2 and none of them passed the referal information. It isn''t
the user agent which behaves badly. On the system without SP2 (and without
Norton Internet Security in case it maters I can see the referers.

Regard
Nicolae

"Patrice" <no****@nowhere.com> wrote in message
news:eG**************@tk2msftngp13.phx.gbl...

This is to be taken as "for your information". User agents are free to
provide or not this information.

Patrice

--

"Nicolae Fieraru" <no****@please.com> a écrit dans le message de
news:42********@duster.adelaide.on.net...

Hi All,

I try to use Request.ServerVariables("HTTP_REFERER") in a script and I
discovered it doesn''t work as expected.
I use XP with SP2 and I created a link on a web site which points to an


asp

page which should show the referer.
I placed a link on www.eleader.com.au/linkref.html and there is a link
pointing to www.monitortest.net/referer.asp
When I use my computer with XP SP2, and I click on the first link, I get


no

referer. But when I use my XP SP1 computer from the same location, I get


the

referer URL.
What is going on? Does the SP2 strip the referer information? Why? How
are
we supposed to identify the referer in this case?

Regards,
Nicolae




Do you try tro solve this in particular case ? I wanted to point that this
is an optional information and that you''ll liekly run into problems if you
expect this information to be always available...

Try for example :
http://wordpress.org/support/topic.php?id=23942

In your particular case, I believe I''ve seen earlier in this group that
shutting down Norton solves the problem (and the link above seems to state
so also)...

Patrice

--

"Nicolae Fieraru" <no****@please.com> a écrit dans le message de
news:42********@duster.adelaide.on.net...

I tried with three different browsers (IE, Netscape, Opera) on the system
with Win XP SP2 and none of them passed the referal information. It isn''t
the user agent which behaves badly. On the system without SP2 (and without
Norton Internet Security in case it maters I can see the referers.

Regard
Nicolae

"Patrice" <no****@nowhere.com> wrote in message
news:eG**************@tk2msftngp13.phx.gbl...

This is to be taken as "for your information". User agents are free to
provide or not this information.

Patrice

--

"Nicolae Fieraru" <no****@please.com> a écrit dans le message de
news:42********@duster.adelaide.on.net...

Hi All,

I try to use Request.ServerVariables("HTTP_REFERER") in a script and I
discovered it doesn''t work as expected.
I use XP with SP2 and I created a link on a web site which points to an


asp

page which should show the referer.
I placed a link on www.eleader.com.au/linkref.html and there is a link
pointing to www.monitortest.net/referer.asp
When I use my computer with XP SP2, and I click on the first link, I

get no

referer. But when I use my XP SP1 computer from the same location, I

get the

referer URL.
What is going on? Does the SP2 strip the referer information? Why? How
are
we supposed to identify the referer in this case?

Regards,
Nicolae





这篇关于Request.ServerVariables(&quot; HTTP_REFERER&quot;) - 发生了什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆