471,881 Members | 1,342 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,881 software developers and data experts.

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 1481
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
reply views Thread by YellowAndGreen | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.