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 are the options provived by vss to the user? how it will help us while delevoping application?
What is .net transaction?
Explain hard disk? : Dot net architecture
Can you explain scriptmanager control?
Difference between type constructor and instance constructor?
How can we integrate atlas with web services?
What is IL code, CLR, CTS, GAC & GC?
Explain the race around condition? : Dot net architecture
Explain a .net mobile example with details? : Microsoft dot net mobile
What does the term "green architecture" mean? : Dot net architecture
Can I create my own permission set?
Explain the difference between state server and sqlserver : Dot net architecture
What is the purpose of Accordian in jquery? Where it can be used?
Explain dma? : .NET Architecture
define cache memory? : Dot net architecture