잊지 않겠습니다.

this is ThreadAbort Exception in Response.Redirect because of Response.End() is not completed.

 

if use Response.Redirect in try..catch block, this exception is frequent.

and this exception(System.Threading.Thread.AbortThread) is especially exception. if you catch the exception in try.. catch block, this exception is re-thrown by .NET Framework. so application programmer cannot resolve this problem.

 

So, remove System.Threading.Thread.Abort is good reason for this case.

In Response.Redirect have 2 overloaded functions.

1. Response.Redirect(string url)

2. Response.Redirect(string url, bool endResponse)

 

Response.Redirect(string url) is equal with Response.Redirect(string url, true).

if endResponse is false, Response.End() event is not occured.

Posted by Y2K
,