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
I have created a configuration setting in my web.config and have kept it at the root level. How do I prevent it from being overridden by another web.config that appears lower in the hierarchy?
Can you explain one critical mapping? Performance issue which one is better? Whether connected lookup tranformation or unconnected one?
Explain what are the advantages of asp.net mvc framework? : asp.net mvc
What is caching? Explain.
Explain the difference between asp & asp.net.
Where would you use an ihttpmodule, and what are the limitations of any?
How do I use a proxy server when invoking a web service?
Which method is used to perform all validation at the page level?
What is owin authentication?
How does windows service lifecycle differ from a .standard. Exe?
Define reflection in .net?
If 200 is for all successful operation then why do we have 201 response codes?
How would you get asp.net running in apache web servers? Explain it's limitations.
What are the events in a page life cycle?
Can you change a master page dynamically at runtime? How?