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 how can we inherit a static variable?
What is the parent class of all the web server control?
What is Web API?
In a Repeater control how one can provide an alternating color scheme ?
What is user control in asp.net?
What is asp.net futures?
What is virtual directory in asp.net?
Using code explain Configuration Management
What are the various types of validation controls provided by asp.net?
What is synchronous and Asynchronous post back ?
What is a session in programming?
What is the difference between table and query?
Can action method static?
Where session id is stored?
How can we identify that the page is post back in asp net?