EAPUtilRedirectUrl Method (String, Boolean) |
Performs a redirect to the specified page.
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public static void RedirectUrl(
string newLocation,
bool endResponse
)
Public Shared Sub RedirectUrl (
newLocation As String,
endResponse As Boolean
)
Parameters
- newLocation
- Type: SystemString
Name of page to which to redirect user. - endResponse
- Type: SystemBoolean
Indicates if the Redirect should end the response stream.
Remarks
Can be called instead of HttpResponse.Redirect() to avoid redirect
problems that may be due to having SmartNavigation set on the page
and resulting in Object Moved pages.
See Also