Content Studio Web Content Management System
Assembly: CS_SiteLib (in CS_SiteLib.dll) Version: 5.7.5016.0 (5.7.5016.0)
[This is preliminary documentation and is subject to change.]
Sets an http cookie
Namespace: ContentStudio.Site
Assembly: CS_SiteLib (in CS_SiteLib.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax
public void SetCookie( string cookieName, string subCookieName, string value, DateTime expires )
Parameters
- cookieName
- Type: SystemString
Name of cookie - subCookieName
- Type: SystemString
Sub cookie name of cookie - value
- Type: SystemString
Value of the cookie - expires
- Type: SystemDateTime
Date when the cookie should expire
See Also