What is the difference between Server.Transfer and
Response.Redirect? Why would I choose one over the other?
Answer Posted / rohan more
Incase of Server.Transfer ,it doesnot cause rod trip to
client and also it does not store url history and directly
redirect to the requested page without changing URL(Please
note).It transfer from Server itself.
where as in case of Response.redirect it cause round trip
to client browser and then transfer from page which cause
request to redirected page.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Are there any resources for drop-in replacements for the default css that comes with the ASP.NET Website template?
What is enableviewstatemac in asp net?
How do you change the session time-out value?
What is the difference between pathparam and queryparam?
How is my content secured from unauthorized access?
What is the latest version of asp.net?
What is postback pixel?
What are different methods of session maintenance in asp.net?
What is the advantage of using Windows authentication in a Web application?
What is the difference between page directive include and action tag include?
What is work flow gen? how can it will work with .Net?
How to disable disable browser's Back button in asp.net (JavaScript)?
What is a master page and what does it do?
What is application variable in asp.net?
Which is the parent class of the web server control?