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


Please Help Members By Posting Answers For Below Questions

What are the options provived by vss to the user? how it will help us while delevoping application?

1757


What is .net transaction?

482


Explain hard disk? : Dot net architecture

580


Can you explain scriptmanager control?

535


Difference between type constructor and instance constructor?

555






How can we integrate atlas with web services?

525


What is IL code, CLR, CTS, GAC & GC?

598


Explain the race around condition? : Dot net architecture

484


Explain a .net mobile example with details? : Microsoft dot net mobile

478


What does the term "green architecture" mean? : Dot net architecture

467


Can I create my own permission set?

534


Explain the difference between state server and sqlserver : Dot net architecture

459


What is the purpose of Accordian in jquery? Where it can be used?

1862


Explain dma? : .NET Architecture

546


define cache memory? : Dot net architecture

541