What is the difference between Server.Transfer and
Response.Redirect? Why would you choose one over the other?

Answer Posted / santosh

In response.redirect the page's state is not maintained.
while in server.transfer it is maintained.
In response.redirect the user makes request to browser to
transfer to another page and then the browser serves the
request.
While in server.transfer this roundtrip is not there the
user is directly transfered to another page.

Is This Answer Correct ?    11 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is command line compiler.what are the steps and how it is related to debugging.

1617


What is use of <% %> in asp.net?

758


What is actually returned from server to the browser when a browser requests an .aspx file and the file is displayed?

722


How many types of state management are there in asp net?

733


Which ASP.NET configuration options are supported in the ASP.NET implementation on the shared web hosting platform?

859


i want the asp.net technical questions and answeres

1801


What is asp.net architecture?

749


What is difference cookie and session?

737


What's the ASP.Net Application life cycle?

785


How you will handle session when deploying application in more than a server?

844


What is query string?

781


How to implement form based authentication in asp.net application?

805


Difference between singleton and singlecall.

764


What is the file extension of web service?

746


What is a swagger in web api?

788