Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to get the URL where someone came from?

Status
Not open for further replies.

wassup

Technical User
Oct 3, 2000
52
GB
When running an asp Page is it possible to get the URL the page was linked from.
 
The URL will be from a different server.
 
I think if you get HTTP_REFERER that it should give you the URL of the refering page.

Request.ServerVariables("HTTP_REFERER")

I'm not extremely familiar with the ServerVariables Collection, though, so there's a good chance that I'm wrong :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top