CookieHelper SetValue Method (String, String, String, DateTime, Nullable Boolean )Kentico 8.0 API Reference
Sets the cookie.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

name
Type: OnlineSystem String
Cookie name
value
Type: OnlineSystem String
Cookie value
path
Type: OnlineSystem String
Cookie virtual path
expires
Type: OnlineSystem DateTime
Expiration time
httpOnly
Type: OnlineSystem Nullable OnlineBoolean 
Defines httpOnly flag.
See Also