Back to product page
- Introduction
- License agreement
- Classes
- Enumerations
- Exceptions
- WeOnlyDo.Server.WebServer
- WeOnlyDo.Server.WebHeader
- WeOnlyDo.Server.WebHeaders
- WeOnlyDo.Server.WebRequest
- WeOnlyDo.Server.WebResponse
- WeOnlyDo.Server.WebSessions
- WeOnlyDo.Server.WebSessionVar
- WeOnlyDo.Server.WebSessionVars
- WeOnlyDo.Server.WebUpload
- WeOnlyDo.Server.WebUploads
- WeOnlyDo.Server.WebUser
- WeOnlyDo.Server.WebUsers
- How to get support?
Redirect method
Redirects response to new URL.
Type
VoidSyntax
- C#
- VB.NET
Void Redirect(String NewUrl, Boolean TempRedirect);
The Redirect(NewUrl,TempRedirect) syntax has these parts:
The Redirect(NewUrl,TempRedirect) syntax has these parts:
NewUrl | A String value. New URL (may include other hostname) where client is redirected. |
TempRedirect | Bool. Defines if client receives 'temporary' or 'permanent' redirection notice. |
Sub Redirect(ByVal NewUrl As String, ByVal TempRedirect As Boolean)
The Redirect(NewUrl,TempRedirect) syntax has these parts:
The Redirect(NewUrl,TempRedirect) syntax has these parts:
NewUrl | A String value. New URL (may include other hostname) where client is redirected. |
TempRedirect | Bool. Defines if client receives 'temporary' or 'permanent' redirection notice. |