For Programmers: Free Programming Magazines  


Home > Archive > ASP > May 2006 > refering URL









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author refering URL
hugh welford

2006-05-31, 7:56 am

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


Kyle Peterson

2006-05-31, 6:56 pm

it is <%= Request.ServerVariables("HTTP_REFERER") %>

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




"hugh welford" <hugh.welford@btinternet.com> wrote in message
news:%23TrcyPKhGHA.3956@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
>



hugh welford

2006-05-31, 6:56 pm

OK Kyle, thanks

Hugh


"Kyle Peterson" <kyle342@hotmail.com> wrote in message
news:e3gHyrLhGHA.4276@TK2MSFTNGP03.phx.gbl...
> it is <%= Request.ServerVariables("HTTP_REFERER") %>
>
> and sometimes it will be blank depending on what is going on
>
>
>
>
> "hugh welford" <hugh.welford@btinternet.com> wrote in message
> news:%23TrcyPKhGHA.3956@TK2MSFTNGP02.phx.gbl...
>
>



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com