p2p.wrox.com Forums

Need to download code?

View our list of code downloads.

  Return to Index  

proasp_codeclinic thread: HTTP_REFERER

Message #1 by "Darrell" <darrell@b...> on Tue, 11 Jun 2002 11:01:02
Hi Ken

I was attempting to gauge traffic from a parked domain which was being 
redirected to a webpage by the server.  I found a solution by ammending 
the redirection to include a querystring: 

Cheers for your help

> Two things come to mind:

a) Suppose you are redirecting page1.asp -> page2.asp. You can't just type
in page1.asp into your browser address bar, and expect to get a referer on
page2.asp. page1.asp has *no* refererer, so nothing will be displayed on
page2.asp. Instead you need to have a link that goes to page1.asp.

b) It is up to the *user-agent* to send the referer header - some UAs (eg
search engine bots) do not send the referer header to the server.


From: "Darrell" <darrell@b...>
Subject: [proasp_codeclinic] HTTP_REFERER

: Is there anyway of displaying the referrer address or IP of the page if
: the referring page is using a sever redirect.  I tried to point traffic 
: an asp page and then use response.redirect but I could still not get the
: referring IP/hostname.  Is there anyway I can do this?


  Return to Index