Difference between Server.Transfer and Response.Redirect in ASP.NET

What is the difference between Server.Transfer and Response.Redirect? Why you choose one over the other in ASP.NET web application?

Tags..  Asp.Net  ASP.Net Interview  ASP.NET web application
Posted by: Marthe Luis | Views: 231 | Community Opinion/Answer: 1

Add Your Opinion

Bookmark this page..



Ask a New Question Go to Home


Community Opinion/Answers
Raman K said..

Server.Transfer transfers page processing from one page directly to the next page without making a round-trip back to the client's browser. This provides a faster response with a little less overhead on the server. Server.Transfer does not update the clients url history list or current url.

Response.Redirect is used to redirect the user's browser to another page or site. This performas a trip back to the client where the client's browser is redirected to the new page. The user's browser history list is updated to reflect the new address.


What do you think? Add your opinion/answer
Your Name:
*your opinion/answer: