URLHelperResponseRedirect Method |
Redirects the response using specified URL using standard redirection with Response.Redirect.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 13.0.131
Syntax public static void ResponseRedirect(
string url,
bool endResponse = true
)
Parameters
- url
- Type: SystemString
URL for redirection - endResponse (Optional)
- Type: SystemBoolean
True to terminate the current process
Remarks If calling this method with endResponse = false and the server
redirect is performed, the request can be ended using
HttpApplication.CompleteRequest() method.
See Also