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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Referrer or Redirect

Status
Not open for further replies.

Esoteric

ISP
Feb 10, 2001
93
US
When a 404 error occurs on our server I have it email me so that I can see just what is causing these.

It sends me the Server name, user logged in, IP address and last GOOD URL but now I want the RUL they requested.

Its in the address but I can't seem to get it into my code.


how can I get this into my script?
 
How about Request.ServerVariables("URL")? This should return the base portion of the URL in the request. If you need the querystring as well you can use Request.ServerVariables("QUERY_STRING") to get that.

-Tarwn --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
No more vacation for me :(

FAQ FAQ20-2863
= new Forums.Posting.General.GettingAnswers()
 
Thanks I was able to use the Query_string. Thanks a ton got everything working great.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top