I received the below error while redirecting one page to another page using response.redirect.
i was calling my page from third party site.
my content.aspx page is in root.but my redirect page is in a folder.
then it will come to this page and hit the response.redirect but it doesnot go to my required page.
here i used forms authentication for automatic login.
i used membership concepts.
"ThreadAbortException starts:Thread was being aborted."
this is my code:
MembershipUser User = Membership.GetUser(email.ToString());
if (User != null)
clsExHandler.Instance.Write("add form authentication");
Response.Redirect("~/Admin/Title/content.aspx?Id=" + Id.ToString());
catch (ThreadAbortException ex)
// Do nothing. ASP.NET is redirecting.
// Always comment this so other developers know why the exception
// is being swallowed.
catch (Exception ex)
// Log other types of exception.
how to handle this..
need ur suggestions..