Do you know that? 49% American freelancers earn $20-$59/hr next

Difference between Server.Transfer and response.Redirect.

Following are the major differences between them:-

Server.Transfer

  • The browser is directly redirected to another page
  • There is no round trip
  • A Server transfer is possible within a website
  • Information can be preserved in Server transfer through a parameter called preserveForm

Response.Redirect

  • The browser is requested to redirect to some other page through a message.
  • There is a round trip.
  • Response redirect is possible within two websites too.
  • A state can be maintained in Response redirect but has a lot of drawbacks