While working on an ASP.NET app, I put a Response.Redirect inside a try block, wanting to go to a different page after a successful databaes update. This raised a ThreadAbortException exception. Turns out this is a documented feature. My questions are these: 1. Why does this raise an exception? 2. Does the Framework speacial case this? I routinely use Response.Redirect outside try blocks, and I never see an error page even though I am not handling the exception in any way. 3. Can I just catch this exception and do nothing with it, or will that cause other problems?
Thanks. --d =================================== This list is hosted by DevelopMentor� http://www.develop.com NEW! ASP.NET courses you may be interested in: 2 Days of ASP.NET, 29 Sept 2003, in Redmond http://www.develop.com/courses/2daspdotnet Guerrilla ASP.NET, 13 Oct 2003, in Boston http://www.develop.com/courses/gaspdotnet View archives and manage your subscription(s) at http://discuss.develop.com
