What is the difference between Server.Transfer and
Response.Redirect? Why would you choose one over the other?
Answer Posted / swapna
Server.transfer redirects the output to another page
whereas response.redirect Redirects/moves the user to
another page .
If u want to submit output of one page to another page use
sever.transfer. if u want to navigate to another page use
Response.Redirect.
| Is This Answer Correct ? | 17 Yes | 4 No |
Post New Answer View All Answers
What is session and cookies in asp.net?
What is the biggest disadvantage of “Other Return Types” in Web API?
What are the differences between primary foreign and unique keys?
To display data in a Repeater control which template you provide?
List the asp.net validation controls?
How does session state work in asp.net?
What is bson in web api?
What is cookies cache and session?
What is the difference between client-side and server-side validations in ASP.NET?
What are the options in ASP.NET to maintain state?
What is asp.net caching?
How will you do windows authentication and what is the namespace? If a user is logged under integrated windows authentication mode, but he is still not able to logon, what might be the possible cause for this? In ASP.Net application how do you find the name of the logged in person under windows authentication?
What are the HTML server controls in ASP.NET?
Explain how can we inherit a static variable?
Explain different types of Caching techniques in ASP.NET?