asp.net.ph

Server.Transfer Method

System.Web Namespace   HttpServerUtility Class


Terminates execution of the current page and begins execution of a new page.

Overload List

1. Terminates execution of the current page and begins execution of a new page using the specified URL path to the page.

2. Terminates execution of the current page and begins execution of a new page using the specified URL path to the page. Specifies whether to clear the QueryString and Form collections.


Example

The following example executes a new page in the same directory as the current page.

NOTE: This example shows how to use one of the overloaded versions of Transfer. For other examples that might be available, see the individual overload topics.

[ VB ]
Server.Transfer ( "Logon.aspx" )

[ C# ]
Server.Transfer ( "Logon.aspx" );
See Also

HttpServerUtility Members Skip Navigation Links




Previous page Back to top Next page

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note