A couple options...
a - Don't set the 2nd parameter to true
b - Before logging the exception, check it's type and don't log
ThreadAbortExceptions
Karl
--
http://www.openmymind.net/
http://www.fuelindustries.com/
"Henrik Stidsen" <> wrote in message
news: ups.com...
I have implemented a log-system for exceptions in an ASP.NET
application using the Application_Error event in Global.asax.
ThreadAbortExceptions gets thrown everytime Response.Redirect is being
used with the second parameter set to true which, according to
Microsoft, is by design...
How do I get around this ? I would hate to have the log filled with
this exception on high-traffic sites. Setting the second parameter to
false is not an option.
I have tried with a try-catch block around the Response.Redirect call,
didn´t help, the exception still gets "recorded".