> Hi all,
>
[quoted text clipped - 3 lines]
> URL. This does not however pass the HTTP_REFERER variable to our
> clients homepage as the user didn't actually click an anchor tag with an
> HREF to the specific URL. We *need* to do this - so what we want to do
> is still use the internal stats we keep, but some how pass the
> HTTP_REFERER info via javascript or something to our clients site? From
> my research so far - this does not seem possible. I've even tested with
> a META refresh, javascritp document.location.href redirect and so on.
> All of them will not pass the HTTP_REFERER unless the user actually
> clicks the <a> tag with the exact URL in it. Any insight on this would
> be greatly appreciated. Thanks!
What if you did something like this:
<html><head>
<script event="onreadystatechange" for="document" language="javascript">
if(document.readyState == 'complete') {
redirectLink.click();
}
</script>
</head>
<body>
<a href="other_page.asp">a</a>
</body>
I haven't tried it though, it's just an idea.
Gus
Agoston Bejo - 28 Jun 2004 10:09 GMT
> > Hi all,
> >
[quoted text clipped - 31 lines]
>
> Gus
Yes, now I've tried it out, it actually works, but the example is wrong,
sorry:
<a href="other_page.asp" id="redirectLink">a</a>
This way HTTP_REFERER will contain the URL of the page where the above link
resides.
Gus