Response.Redirect Throws ThreadAbortException

1 reply [Last post]
parth's picture
parth
User offline. Last seen 2 years 19 weeks ago. Offline
Joined: 09/20/2009

In my application developed in ASP.NET i used Response.Redirect for page redirection but it throws ThreadAbortException.Thanks in advance for help


rajesh's picture
rajesh
User offline. Last seen 13 weeks 18 hours ago. Offline
Joined: 08/17/2009
ThreadAbortException in Response.End and Server.Transfer

If you use the Response.End, Response.Redirect, or Server.Transfer method, a ThreadAbortException exception occurs. You can use a try-catch statement to catch this exception.

Check detailed explanation at MSDN