What is the difference between Server.Transfer and
Response.Redirect? Why would I choose one over the other?
Answer Posted / manjunath
1)response.redirect sends the message to the browser to
send to different pages while server.transfer will not send
the message rather redirect user directly to some differnt
page.
so there is no round trip in server.transfer but
response.redirect has the round trip puttind load on the
server.
2)server.transfer will not redirect to the different server
while response.redirect can redirect to any different
server.
3)server.transfer can store data using paramater
called "preserved form" , this query strings are available
in the next calling pages.In latter it is not possible.
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is WPF and WCF?
Does application frame need host?
How does .net remoting work?
What do you know about machine.config file ?
What is .net mobile utility controls. Explain with an example? : Microsoft dot net mobile
Explain domestic architecture artifacts? : Dot net architecture
Explain the race around condition? : .NET Architecture How can it be overcome? : .NET Architecture
Explain how does .net mobile work? : Microsoft dot net mobile
How to implement the display in the class printdoc (how to resolve the naming conflict) a: no naming conflicts
What's the difference between an application and a program?
Does .NET runtime offer Deterministic Destruction or not?
Explain the components required to develop mobile applications with .net mobile? : Microsoft dot net mobile
what is polymorphism and advantage ?
What are relation objects in dataset?
What happens when you try to update data in a dataset in .net while the record is already deleted in sql server as backend?