Monday, May 17, 2004

ThreadAbortException rears its head again

Response.Redirect will always throw a
ThreadAbortException that will be silently handled by the ASP.NET runtime.

You can move your Response.Redirect outside the try/catch block or leave it there and rethrow the exception.

No comments:

C# Sucks!

JK!! Seriously, though, somewhere around C#-3 we should have inculcated ourselves with the question: "Does 'CAN' == 'SHOULD...