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

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

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