Difference between Server.Transfer and Response.Redirect

  .Net Interview Questions

Difference between Server.Transfer and Response.Redirect

Server.Transfer transfer page processing from one page to another page directory to the next page without making a round trip back to the client browser.This provides a faster response with a little less overhead on the server.Server.Transfer does not update the URL.

Response.Redirect is used to redirect the user browser to another page or website.This performs a trip back to the client where client browser redirected to the new page.The user browser URL is updated to reflect the new address.