What is the difference between Server.Transfer and
Response.Redirect? Why would I choose one over the other?
Answer Posted / ganesh
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 ? | 10 Yes | 2 No |
Post New Answer View All Answers
Define tracing.
What does asp stand for in asp.net?
In how many ways we can retrieve table records count?
In a page I have gridview with options of select and delete using hyperlink when I am selecting any one of then it has to open another page how can it?
How can you use a custom controls in ASP.NET application?
Is asp.net different from asp? If yes, explain how?
What is difference between viewstate and session state in javascript?
How can we pass info between 2 asp.net pages?
What are the server control tags in asp.net.?
Where sessions are stored in asp.net?
What is asp.net futures?
Can action method static?
How can we create custom controls in asp net?
Why does my asp.net file have multiple tag with runat=server?
Where is asp.net session stored?