refering URL

H

hugh welford

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
 
K

Kyle Peterson

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

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

hugh welford

OK Kyle, thanks

Hugh


Kyle Peterson said:
it is <%= Request.ServerVariables("HTTP_REFERER") %>

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,774
Messages
2,569,599
Members
45,163
Latest member
Sasha15427
Top