There appears to be two different ways of programmatically switching to another page: Response.Redirect and 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 in that ASP.NET simply loads the specified
page without the round trip. As a result, the browser’s address bar is not updated.
This can be particularly useful for pipeline style processes such as a checkout system in which the user does not need to see the URLs of pages within the pipeline.
Sunday, May 20, 2007
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment