Advertisement
C_Volume2 Internet/ Browsers/ HTML #82762

Getting the URL the user came from before your web page!

This is a great tip that is NOT documented in the Interdev help..how to get the referring URL of the browser. You can use this to track what traffic you are getting and from where.

AI

AI Summary: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Source Code
original-source
Note: Just typing something in your browser and then typing your test page URL will NOT cause this to work. Your browser must follow an actual link from a domain other than your own to your test page to work. Otherwise it returns the empty string.</b><BR>
<BR>
<BR>
response.write "You came from " & Request.ServerVariables("HTTP_REFERER")<BR>
<BR>
<BR>
That's it...enjoy!
Original Comments (3)
Recovered from Wayback Machine