What is the difference between Server.Transfer and
Response.Redirect? Why would I choose one over the other?

Answer Posted / rohan more

Incase of Server.Transfer ,it doesnot cause rod trip to
client and also it does not store url history and directly
redirect to the requested page without changing URL(Please
note).It transfer from Server itself.

where as in case of Response.redirect it cause round trip
to client browser and then transfer from page which cause
request to redirected page.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is it true that a Web service must be written in .NET or not?

583


What are the namespaces used in asp.net mvc? : asp.net mvc

523


What are the properties of the eventargs argument when capturing keyboard events?

552


How can I configure asp.net applications that are running on a remote machine?

547


What are the navigation ways between pages available in ASP.NET?

580






Explain the difference between codebehind="mycode.aspx.cs" and src="mycode.aspx.cs"?

547


Explain what is an assembly?

567


What are validator? Name the validation controls in asp.net?

513


How does session authentication work?

519


Where is asp.net session stored?

483


Which method is used to perform all validation at the page level?

544


Define session in asp.net.

571


Which is an advantage of application service providers?

499


Define transparent caching with aop?

546


Do you know about caching with the datasource controls?

490