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.
JK!! Seriously, though, somewhere around C#-3 we should have inculcated ourselves with the question: "Does 'CAN' == 'SHOULD...
No comments:
Post a Comment