What is a valid use for Response.Redirect("SomeURL", false) ?

Posted by Aheho on Stack Overflow See other posts from Stack Overflow or by Aheho
Published on 2011-01-30T15:09:07Z Indexed on 2011/01/30 15:25 UTC
Read the original article Hit count: 112

Filed under:

In ASP.NET I frequently use Response.Redirect to redirect the end user to another page on my system. I always set the second parameter to true to immediately end the response.

For the life of me, I can't think of a reason why anybody would ever set that parameter to true. What's the point of continuing generating a page when the end user's browser is just going to be redirected to a different page immediately?

© Stack Overflow or respective owner

Related posts about ASP.NET