What is the difference between Server.Transfer and
Response.Redirect? Why would I choose one over the other?
Answer Posted / ganesh
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.
| Is This Answer Correct ? | 10 Yes | 2 No |
Post New Answer View All Answers
If 200 is for all successful operation then why do we have 201 response codes?
In the Repeater control which way you can edit?
Explain a program using code nuggets to create a simple application? : asp.net mvc
Difference between response.redirect and server.transfer?
Explain difference between dataset and datareader?
What is latest version of asp.net mvc? : Asp.Net MVC
What are main return types supported in Web API?
What is content place holder?
Why do we use web config?
What is difference between abstract class and an interface?
What is the server of asp.net?
What is the full meaning of asp.net?
How do I use a proxy server when invoking a web service?
How many types of session in ASP.NET
What websites use asp.net?