Click or drag to resize
ICurrentCookieLevelProviderSetCurrentCookieLevel Method
Sets the cookie level to the specified level.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntax
C#
void SetCurrentCookieLevel(
	int cookieLevel
)

Parameters

cookieLevel
Type: SystemInt32
Cookie level to be set. Predefined constants in the CookieLevel class can be used.
Remarks
This action clears all the cookies that have a cookie level set lower that the new cookie level. New cookie level value is stored into the response cookie CookieLevel.
See Also