Tuesday, June 7, 2011

To Transfer or Redirect is the Question.

While studying for a Microsoft certification 70-562 I ran across this explination.  I never really dug down into what either of these did so here are the basics.

Server.Transfer performs server-side redirection, which minimizes the delay in displaying the page by not requiring the client to make an additional request. Set the second parameter to True to pass the query string parameters to the new page.

Response.Redirect performs a client-side redirection, which requires an additional response and request, slowing the display of the new page.

No comments:

Post a Comment