CheckParametersCheckPage Method (String, Boolean) |
Checks the current request for allowed parameters.
Namespace: CMS.ProtectionAssembly: CMS.Protection (in CMS.Protection.dll) Version: 8.2.23
Syntax public static bool CheckPage(
string url,
bool redirect
)
Parameters
- url
- Type: SystemString
Page to check - redirect
- Type: SystemBoolean
If true, when parameters do not match, the request is redirected either to 404 or throws an exception (depending on current settings)
Return Value
Type:
BooleanSee Also