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
Explain the difference between array and linkedlist?
What is bound controls
Whats the difference between registerclientscriptblock, registerclientscriptinclude and registerclientscriptresource?
Explain the difference between the web config and machine config.
What are Authentication and Authorization?
Differentiate between structure and class.
What are Session states available and its Uses?
How can I have a particular web page in an asp.net application which displays its own error page?
Explain what is an abstract class?
Can we use a static function with a non-static variable?
What are the ways of preserving data on a Web Form in ASP.NET?
how to write html code with ssl
Describe state management in asp.net?
How to implement globalization and localization in the use interface in .net.
Can you explain autopostback?