Click or drag to resize
CookieHelperSetValue Method (String, String, DateTime)
Sets the cookie.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
Syntax
C#
public static void SetValue(
	string name,
	string value,
	DateTime expires
)

Parameters

name
Type: SystemString
Cookie name
value
Type: SystemString
Cookie value
expires
Type: SystemDateTime
Expiration time
See Also