Response.Redirect causes System.Threading.ThreadAbortException

The correct way is to call the Redirect overload with endResponse=false and make a call to tell the IIS pipeline that it should directly to the EndRequest stage once you return control: So use endResponce to "false"

Response.Redirect(url, false);

No comments:

Post a Comment