Forum Moderators: open
I've developed a small bit of code int ASP to capture where our visitors are coming from and update a database with all referral data.
I don't know if it's the way I've written it or not, but, sometimes the referrer comes back as null.
The statement I use to collect the referral is:
<%
.
.
strReferrer = Request.ServerVariables("HTTP_REFERER")
.
.
%>
If this is not a stable way of collecting that information is there an alternative way in ASP to collect the referral?
Thanks
Mick
if the traffic has been referred by an external site you don't have a page loaded in client to help collect referrer information using javascript.
if the problem is a poorly behaved browser you can't count on anything working anyway.