System.Web Namespace HttpResponse Class
Redirects a client to a new URL.
1. Redirects a client to a new URL and specifies the new URL.
2. Redirects a client to a new URL. Specifies the new URL and whether execution of the current page should terminate.
The following example forces an unconditional redirection to another Web site.
NOTE: This example shows how to use one of the overloaded versions of Redirect. For other examples that might be available, see the individual overload topics.
[ VB ]
Response.Redirect ( "http://www.microsoft.com/gohere/look.htm" )
[ C# ]
Response.Redirect ( "http://www.microsoft.com/gohere/look.htm" );
HttpResponse Members