HttpResponse.Redirect Method (String)
.NET Framework 3.0
Redirects a client to a new URL and specifies the new URL.
Namespace: System.Web
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
Calling Redirect is equivalent to calling Redirect with the second parameter set to true.
Redirect calls End which raises a ThreadAbortException exception upon completion.
Note: |
|---|
| For mobile pages only, if your application relies on cookieless sessions, or might receive requests from mobile devices that require cookieless sessions, using a tilde ("~") in a path can result in inadvertently creating a new session and potentially losing session data. To set a property on a mobile control with a path such as "~/path", resolve the path using ResolveUrl "~/path" before assigning it to the property. |
Community Additions
ADD
Show:
Note: