469,328 Members | 1,316 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,328 developers. It's quick & easy.

refering URL

Hi,

Can anyone tell me how to grab the refering URL of a visitor to my site from
another site ( I have tried Request.ServerVariables (HTTP_referer) which
returns a blank value, although it seems to work fine for pages within my
site)

Thanks

Hugh
May 31 '06 #1
2 1406
it is <%= Request.ServerVariables("HTTP_REFERER") %>

and sometimes it will be blank depending on what is going on


"hugh welford" <hu**********@btinternet.com> wrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
Hi,

Can anyone tell me how to grab the refering URL of a visitor to my site
from another site ( I have tried Request.ServerVariables (HTTP_referer)
which returns a blank value, although it seems to work fine for pages
within my site)

Thanks

Hugh

May 31 '06 #2
OK Kyle, thanks

Hugh
"Kyle Peterson" <ky*****@hotmail.com> wrote in message
news:e3**************@TK2MSFTNGP03.phx.gbl...
it is <%= Request.ServerVariables("HTTP_REFERER") %>

and sometimes it will be blank depending on what is going on


"hugh welford" <hu**********@btinternet.com> wrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
Hi,

Can anyone tell me how to grab the refering URL of a visitor to my site
from another site ( I have tried Request.ServerVariables (HTTP_referer)
which returns a blank value, although it seems to work fine for pages
within my site)

Thanks

Hugh


May 31 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Rajan Moorjaney | last post: by
1 post views Thread by Dotnetjunky | last post: by
1 post views Thread by dkalsow | last post: by
2 posts views Thread by Dave | last post: by
6 posts views Thread by news.versatel.de | last post: by
5 posts views Thread by Rick | last post: by
1 post views Thread by aamirvip | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.