ICurrentCookieLevelProviderSetCurrentCookieLevel Method |
Sets the cookie level to the specified level.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntax 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