bruce
10-01-2003, 01:05 AM
I don't think you can do that with ASP (i may be wrong on this one). You can do such thing w/ ASP.net.
The best way to identify invalid pages is through reviewing the web statistics or log file.
[b]quote:Originally posted by homeacademy
I originally raised this question on technical support, and was told to post it here:
I am setting up a custom error system for my site, using your Control Panel IIS Manager. I would like to perform actions based on the incorrect address. How can I detect (through ASP) the URL that generated the error?
An example:
A user enters an invalid URL, say http://www.domain.com/notfound.html. A 404 error is generated, and your custom error function redirects the user to http://www.domain.com/errormanager.asp. I want errormanager.asp to log the invalid URL (http://www.domain.com/notfound.html) to a database. I cannot figure out how to programmatically detect the invalid URL from my custom error page (errormanager.asp).
Thanks in advance for the assistance.
</blockquote id="quote"></font id="quote">
The best way to identify invalid pages is through reviewing the web statistics or log file.
[b]quote:Originally posted by homeacademy
I originally raised this question on technical support, and was told to post it here:
I am setting up a custom error system for my site, using your Control Panel IIS Manager. I would like to perform actions based on the incorrect address. How can I detect (through ASP) the URL that generated the error?
An example:
A user enters an invalid URL, say http://www.domain.com/notfound.html. A 404 error is generated, and your custom error function redirects the user to http://www.domain.com/errormanager.asp. I want errormanager.asp to log the invalid URL (http://www.domain.com/notfound.html) to a database. I cannot figure out how to programmatically detect the invalid URL from my custom error page (errormanager.asp).
Thanks in advance for the assistance.
</blockquote id="quote"></font id="quote">