Can “EndResponse” increase performance of ASP.Net page
问题 I have a Response.Redirect in my Employee page. It redirects to Salary page. Response.Redirect (\"Salary.aspx\"); It was working fine until I added exception handling as below. try { Response.Redirect (\"Salary.aspx\"); } catch(Exception ex) { //MyLog(); throw new Exception(); } //Remaining code in event handler This caused a new exception saying \"Thread was being aborted”. I came to know that this can be avoided by setting endResponse as false for the redirect. Response.Redirect(url, false)