"Thread is being aborted" exception while using Response.Redirect(..)
-
Hi Am using
try { Response.Redirect("Page2.aspx"); } Catch(System.Threading.ThreadAbortException ThreadEx) { }
My problem is am getting "Thread is being aborted" exception at Response.Redirect("Page2.aspx"). (Obviously,not redirecting to the required page) Why it's coming and how to resolve it? Please help me! Thanks! -
Hi Am using
try { Response.Redirect("Page2.aspx"); } Catch(System.Threading.ThreadAbortException ThreadEx) { }
My problem is am getting "Thread is being aborted" exception at Response.Redirect("Page2.aspx"). (Obviously,not redirecting to the required page) Why it's coming and how to resolve it? Please help me! Thanks!When u call Response.Redirect method, Round trip process fire, so in these u should be store u'r thread variable in session or cookies. or u can try Server.Transfer.
Parwej Back...............DON of Developer....... Parwej Ahamad g_parwez@rediffmail.com
-
Hi Am using
try { Response.Redirect("Page2.aspx"); } Catch(System.Threading.ThreadAbortException ThreadEx) { }
My problem is am getting "Thread is being aborted" exception at Response.Redirect("Page2.aspx"). (Obviously,not redirecting to the required page) Why it's coming and how to resolve it? Please help me! Thanks!Hi, You have to make small change in page direction. Response.Redirect("Page2.aspx",false); I hope this will work Regards, Nagraj
-
Hi, You have to make small change in page direction. Response.Redirect("Page2.aspx",false); I hope this will work Regards, Nagraj
-
When u call Response.Redirect method, Round trip process fire, so in these u should be store u'r thread variable in session or cookies. or u can try Server.Transfer.
Parwej Back...............DON of Developer....... Parwej Ahamad g_parwez@rediffmail.com