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 the purpose of cache? How is it used? : Dot net architecture
Differences between VS 2005, 2008 and 2010 ?
What is the mesi? : Dot net architecture
So what exactly is the configuration file for then?
What is a managed code? : Dot net architecture
What happens to the winfx technologies?
How do I prevent concurrent access to my data?
What are bindings?
Do you know textbox and textview controls of .net mobile? : Microsoft dot net mobile
What are relation objects in dataset?
where should I put this information then?
What are the types of memory management? : Dot net architecture
Explain about appdomains?
Waht is Dot net Arcitecture
Explain cache? : Dot net architecture