What is the difference between Server.Transfer and
Response.Redirect?

Answer Posted / kvnvani

Server Transfer simply tranfer execution to another page .
This doesnt require any information to be sent to the
browser that is it all occors on the server without the
users knowledge, doesnt update the client's URL history
list or current url
Response Redirect method sends HTTP information to the
browser instructing it to go to another page perform round
trip back to the client when 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 ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is post back property in asp net?

522


What is special types forms

533


How to display Alert in ASP.NET

639


How many types of server controls do we have?Also explain differance between them taking an example of ASP.NET?

2362


How do you store a value in viewstate and retrieve them?

564






About CLR, reflection and assemblies?

1538


Which authentication uses a combination of windows and iis authentication?

578


Why do we use asp.net?

583


How do you initiate validation on the server manually? What are two situations when you might you want to do that?

1358


How would you enable impersonation in the web.config file?

539


Define dll hell?

625


Why we are using mvc instead of asp.net? : Asp.Net MVC

519


What is application in asp net?

492


Difference between web user control and web custom control?

500


Explain the difference between server.transfer and response.redirect? Why would I choose one over the other?

537