I have been noticing one absurd thing far the past couple of days in my workplace, I am redirecting to another form, but while redirecting an unusual thing takes place, it redirects and goes to another page, but on debugging I find that it encounters the catch portion too.
The code is as below
Expand|Select|Wrap|Line Numbers
- try
- {
- Response.Redirect("default3.aspx");
- }
- catch(Exception ex)
- {
- Response.Write(ex.ToString());
- }
The error I get is System.Threading.ThreadAbortException error
May I know the reason why this happens
Regards
cmrhema