What is the difference between response.redirect and
server.transfer, how to choose one among the other?
Answer Posted / praveen singh
Server.Transfer transfers page processing from one page
directly to the next page without making a round-trip back
to the client's browser. This provides a faster response
with a little less overhead on the server. Server.Transfer
does not update the clients url history list or current url.
Response.Redirect is used to redirect the user's browser to
another page or site. This performas a trip back to the
client where the client's browser is redirected to the new
page. The user's browser history list is updated to reflect
the new address.
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
What r the asp.net list controls and difference between them?
Differentiate between client-side and server-side validations in web pages.
Can we have multiple worker process in an ASP.NET application? If so then how it has been handled by application? And who handles it?
What is web api vs wcf?
Is global asax mandatory?
Define web.config in .net?
Define tracing.
How you can access the values from the Repeater control in ASP.NET?
What is web router?
Why is asp.net so popular?
Explain repository pattern in asp.net mvc? : asp.net mvc
What is http only cookie?
How Session use Cookies in State Management?
What is manifest in .net framework?
How do I force the dispose method to be called automatically, as clients can forget to call dispose method?