catch URL from browser before 404

Hello all,
When I costumize my 404 error page I want to get the actual URL that the user typed
In order to redirect hime to the proper page.
I'm using: Request.ServerVariables("URL")
The problem is that the URL I'm getting is my error 404 page and not the original URL that
the user typed before he got my 404 page!
Is it possible ? I'm sure u could help me
yaron9Asked:
Who is Participating?
 
throwithereConnect With a Mentor Commented:
use Request.ServerVariable("HTTP_REFERRER")
0
 
GaryCommented:
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Accept Answer by throwithere

Please leave any comments here within the next seven days.
 
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
 
GaryC123
EE Cleanup Volunteer
0
All Courses

From novice to tech pro — start learning today.