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 .net viewstate?
How do we do authentications using atlas?
How to develop mobile applications using microsoft mobile internet toolkit (mmit) or .net mobile? : Microsoft dot net mobile
What is cache coherency? : Dot net architecture
Explain about common language infrastructure?
Explain about metadata?
deference between display and visibility property of CSS
server.transfer limitation ?
What is a virtual memory? : Dot net architecture
Is dim fs as filestreamobject is a managed code? : Dot net architecture
I want to create a project like google maps how can we do that with atlas?
How to upload in video,mp4,in .net 4.5 ..?
Differences between VS 2005, 2008 and 2010 ?
Explain 'managed' mean in the .NET context
Explain about microsoft visual studio?