Sunday, August 12, 2012

Response.Redirect Vs Server.Transfer

Response.Redirect() sends a redirection header to the client, and the client itself requests the new page.
Server.Transfer() only stops rendering the current page and starts rendering another one. The client is none the wiser.
That's why Server.Transfer() cannot be used to redirect to pages served by another server.

No comments: