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 is authorization in asp.net?
Can we add code files of different languages in app_code folder?
Explain the different types of assemblies?
Diff between web user control and web custom control?
What is server infrastructure?
What is a server cookie?
What is loop in asp.net?
Explain the different types of directives in .net?
What is a session http?
How Can assign alias name for ASP.NET Web API Action?
What are the Types of object in asp
List of words of preprocessor in .net?
What are the ways of preserving data on a Web Form in ASP.NET?
Where is http session stored?
What is web api and why to use it?