What is the default for the endResponse parameter of the Response.Redirect method
I want to know the default value of the endResponse parameter of the method HttpResponse.Redirect Method (String, Boolean)
The default endResponse
is HttpResponse.Redirect true
.
Calling Forward is equivalent to calling Forward with the second parameter set to true.
Call Forwarding End that throws an exception ThreadAbortException
upon completion. This exception has a detrimental effect on the performance of web applications. Therefore, it is recommended that you use an overload instead of this overload HttpResponse.Redirect(String, Boolean)
and pass false
for a parameter endResponse
and then call the method CompleteRequest
. For more information see Method End
.
See this MSDN link for reference - https://msdn.microsoft.com/en-us/library/t9dwyts4%28v=vs.110%29.aspx