Click here to Skip to main content
15,896,557 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
sir
plz help me , interviewer asked me this questions
Posted

1 solution

It depends on the requirements, someone may argue that Server.Transfer is more faster because one less round trip.
To answer these type of question you need to know both these methods and explain when to use each method.

read below codeproject articles:
Server.Transfer VS Response.Redirect – Simplified[^]
Difference Between Response.Redirect() and Server.Transfer() Methods in ASP.NET[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900