Skip to content
(31) 98739-9637
< All Topics
Print

Thread estava sendo anulado response redirect

O response.redirect esta gerando erro e não abrindo a página requisita.
Abaixo a olução e a fonte.

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

Response.Redirect(url, false);
Context.ApplicationInstance.CompleteRequest();

Fonte: https://stackoverflow.com/questions/2777105/why-response-redirect-causes-system-threading-threadabortexception

Sumário
Back To Top