How to display an popup error message from the global.asax file
Posted on 2006-06-29
I'm handling unexpected exceptions in the Global.asax's Application_Error event. The current code in the Application_Error event gathers the exception info and notifies the dev staff, then redirects the user to an friendly error page with a link to the application's home page. The issue I'm having is that there is a process which opens a page in a new window where additional processing occurs. If an exception occurs in the new window, the home page redirection, of course, takes place from that point. What I would like to do is open the error page in a separate window via jscript, but this doesn't seem possible from global asax. Any suggestions would be appreciated.