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
Explain the difference between an exe and a dll?
How do u declare static variable and how it is declared and what is its lifetime?
What is postback request?
What is difference between Fragment Caching and Page Caching in ASP.NET?
Suppose you want an asp.net function (client side) executed on the mouseover event of a button. Where do you add an event handler?
Define globalization and localization.
What is difference between abstract class and an interface?
In which event are the controls fully loaded?
What is the difference between Session and response.Redirect?
How to add DateTime Control in normal DataGrid Server Control?
Which validator control you use if you need to make sure the values in two different controls matched?
Write a code snippet to implement the indentation in json in web api.
List of words of preprocessor in .net?
How to do parallel database export in remote SQL Server in ESSL time track. It is working for local server but not working for remote SQL Server
How can we prepairing Interview