Thread abort error - REVISITED

  • Thread starter Thread starter BillGatesFan
  • Start date Start date
B

BillGatesFan

I'm periodically getting "Thread Abort Error" errors thown from my web
app. My app will throw like 5 of these and will work normally again.
I'm thinking it is because my worker process was recycling so it
aborted all the threads. My question is, How can I stop it?
 
Don't put any code after Response.Redirect(). That's it. Those Thread
Abort Exceptions will go away.

If you have so much as a return statement after a
Response.Redirect(???,true);, you'll run the risk of seeing these
exceptions. Regardless of what you do, you shouldn't be sweating them.
They're completely harmless.


Jason Kester
Expat Software Consulting Services
http://www.expatsoftware.com/
 
Back
Top