Forums

This topic is locked

Read URL

Posted 21 Nov 2004 03:26:26
1
has voted
21 Nov 2004 03:26:26 Steve V posted:
Hi All,
I have some 200 URL's which I currently forward to one domain.
When clients enter a URL I have no way of tracking which URL they used to get to my site.
I would like to read the URL, place it in a database, and then forward clients to my site.
Language DWMX, ASP.

Thanks
Steve

Replies

Replied 22 Nov 2004 14:26:29
22 Nov 2004 14:26:29 Lee Diggins replied:
Hi Steve

Use this:

<% Request.ServerVariables("HTTP_REFERER" %>

Returns a string containing the URL of the page that referred the request to the current page using an <a> tag. If the page is redirected, HTTP_REFERER is empty

Digga

Sharing Knowledge Saves Valuable Time!!!

Reply to this topic