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
What does the orientation property do in a menu control?
What are main return types supported in Web API?
What are Session states available and its Uses?
What is Bundling and Minification in MVC?
What is http post action?
What is the difference between stored procedure vs function?
How do we implement bundling in MVC?
What are cookies in your browser?
What is an asp.net web form?
What is bound controls
Why SessionID changes in every request in asp.net?
What is a nested masterpage in asp.net 2.0? Can there be a master page inside a masterpage?
What are the layouts of ASP.NET Pages?
What is the difference between web config and machine config files?
What is the difference between cache and cookies?