404's, aspxerrorpath, and querystring variables

N

news.microsoft.com

I'm trying to create a 404 handler that can record the *exact* URL that
caused the 404 to occur.

When I turn on custom error handling in the web.config, ASP.NET successful
redirects the 404 to my custom page (404.aspx), but the aspxerrorpath
querystring variable only shows what page the request went to, not the
querystring variables passed to that page.

I need the *complete* URL that causes the error, including the querystring
arguments.

How can I obtain this?

Thanks,
RMD
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

IIS6 custom asp.net 404 page 1
Unexpected 404 4
HTTP 404, when accessing WebResource.axd 2
customErrors 1
Aspxerrorpath Querystring 1
HTTP Error 404 1
404 pages 4
How to cause a 404 from code ? 4

Top