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


Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top