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
Explain about microsoft visual studio?
What is boxing and unboxing? Does it occure automaatically or you need to write code to box and unbox?
HttpHendler and HttpModules
How to develop mobile applications using microsoft mobile internet toolkit (mmit) or .net mobile? : Microsoft dot net mobile
Explain about generation?
What is .net mobile forms? : Microsoft dot net mobile
Is dim fs as filestreamobject is a managed code? : Dot net architecture
What are the main Tools to develop .Net Application?
What is the use of CLR in .NET?
What actually happes when you add a something to arraylistcollection ?
What is Video Streaming in .net??
Explain the purpose of cache? How is it used? : Dot net architecture
What is the use of web.config?
Xmlserializer is throwing a generic "there was an error reflecting myclass" error. How do I find out what the problem is?
What is Object Caching in Visual Studio 2010?