Click or drag to resize
CheckParametersCheckPage Method (String, Boolean)
Checks the current request for allowed parameters.

Namespace: CMS.Protection
Assembly: CMS.Protection (in CMS.Protection.dll) Version: 9.0.0
Syntax
C#
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: Boolean
See Also