What is the difference between Response.Redirect() and Server.Transfer() ?

  • Response.Redirect() redirects browser to another page, history is updated, trip back to client where browser loads the new page.
  • Server.Transfer() redirects browser to another page, history is not updated, no round trip to client browser where new page loads.
  • Response.Redirect() redirects browser to another page, history is updated, trip back to client where browser loads the new page.
  • Server.Transfer() redirects browser to another page, history is not updated, no round trip to client browser where new page loads.

Buy Me A Coffee

Found this article helpful? Please consider supporting!

Ram
Ram

I'm a full-stack developer and a software enthusiast who likes to play around with cloud and tech stack out of curiosity. You can connect with me on Medium, Twitter or LinkedIn.

Leave a Reply

Your email address will not be published. Required fields are marked *