CheckParametersCheckPage Method (String, Boolean) |
Checks the current request for allowed parameters.
Namespace: CMS.ProtectionAssembly: CMS.Protection (in CMS.Protection.dll) Version: 9.0.0
Syntaxpublic 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:
Boolean
See Also