Amjad Ali Khawaja
Friday 13 July 2012
Response.Redirect throws exception which is “Thread was being aborted” in asp.net/c#
Solutions:
1) Set the
EndResponse
(the 2nd parameter) to false.
e.g: Response.Redirect("AdminHome.aspx",false);
2) Move the
Response.Redirect
outside the try/catch block.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment