If you use Response.Redirect or Server.Transfer in your code then aThreadAbortException occurs and the response is ended/aborted immediately. You can set an extra parameter as false in these calls to avoid the thread-abort exception.
For example, the line: Response.Redirect(“Myworld.aspx”) //your response will be aborted
can be rewritten as this to solve the ThreadAbortException problem: Response.Redirect(“Myworld.aspx” , false) //continue normally after the call
This happens when you simply write Response.Redirect(URL) or Server.Transfer(URL) in your code, due to the fact that the system aborts processing of the current web page thread after it sends the redirect to the response stream. InternallyResponse.Redirect/Server.Transfer call the Response.End() method which in turn calls the Thread.abort() method.
In order to suppress the internal call and avoid ThreadAbortException, you can use an extra parameter as false while calling the methods in the code. This will suppress the internal call to Response.End() method and allow normal processing flow to continue.