Thursday, March 12, 2009

Response.Redirect vs Server.Transfer

The Response.Redirect method sends a message to the requesting client to request a new page. This requires a round trip between the browser and the server, but allows the user to see the new URL in the browser address bar.

Server.Transfer is a quicker approach which simply loads the specified page without the round trip. As a result, the browser’s address bar is not updated.

No comments:

Best viewed in Internet Explorer 8.