When we use false as second parameter in Response.Redirect then code written after Response.Redirect will be executed. And when we use true then there will be no further execution of code as it kill the thread and throw an aThreadAbortException
True words, equivalent Exit Sub / function is called after the Redirect Redirect statement is no longer perform; False, still executed after the Redirect statement.
refer my articlehttp://www.c-sharpcorner.com/UploadFile/0c1bb2/response-redirect-true-and-response-redirect-false-in-asp-ne/
if i use Response.Redirect("abc.aspx",false) then code written after Response.Redirect("abc.aspx",false) will be executed then page is redirected ,if i use Response.Redirect("abc.aspx",true) then code written after the Response.Redirect("abc.aspx",true) will not be executed
Response.Redirect()-->cause the browser to connect with specified URL. Use Response.Redirect() in following cases:- 1->U want to connect to a resource on any server. 2->U want to connect to a non aspx resource. 3->U want to pass querystring as part of the URL.server.Transfer()-->transfer the execution from the current Aspx file to specified Aspx file. The specified Aspx file must be on the same server. when U want to transfer the control to an Aspx page residing on the same server we should use Server.Transfer() because server.Transfer() avoid unnecessary round trip. The default use of server.Transfer() method does not pass the form data and the query string of the original page request to the transferred page.But, you can preserve the form data and query string of the original page by passing a True value to the optional second argument, PreserveForm, of the Server.Transfer() method.