What is the difference between Server.Transfer and
Response.Redirect? Why would I choose one over the other?

Answer Posted / ganesh

Server.Transfer transfers page processing from one page
directly to the next page without making a round-trip back
to the client's browser. This provides a faster response
with a little less overhead on the server. Server.Transfer
does not update the clients url history list or current url.
Response.Redirect is used to redirect the user's browser to
another page or site. This performas a trip back to the
client where the client's browser is redirected to the new
page. The user's browser history list is updated to reflect
the new address.

Is This Answer Correct ?    10 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define tracing.

633


What does asp stand for in asp.net?

533


In how many ways we can retrieve table records count?

544


In a page I have gridview with options of select and delete using hyperlink when I am selecting any one of then it has to open another page how can it?

512


How can you use a custom controls in ASP.NET application?

552






Is asp.net different from asp? If yes, explain how?

502


What is difference between viewstate and session state in javascript?

584


How can we pass info between 2 asp.net pages?

565


What are the server control tags in asp.net.?

634


Where sessions are stored in asp.net?

545


What is asp.net futures?

579


Can action method static?

539


How can we create custom controls in asp net?

541


Why does my asp.net file have multiple tag with runat=server?

581


Where is asp.net session stored?

481