CookieHelperSetValue Method (String, String, String, DateTime) |
Sets the cookie.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 13.0.131
Syntax public static void SetValue(
string name,
string value,
string path,
DateTime expires
)
Parameters
- name
- Type: SystemString
Cookie name - value
- Type: SystemString
Cookie value - path
- Type: SystemString
Cookie virtual path - expires
- Type: SystemDateTime
Expiration time
See Also