CookieCollection is defined in the Telligent.Evolution.Extensibility.Version1 namespace.
Definition
class CookieCollection
{
bool IsReadOnly { get; set; }
string Item[string] { get; }
IList<string> Keys { get; }
bool ContainsKey(string key);
void Expire(string cookieName);
void Set(string cookieName, string cookieValue, SetCookieOptions options);
}
Methods
bool ContainsKey(string key);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| key | string | Key | Required |
Return Type
void Expire(string cookieName);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| cookieName | string | Cookie Name | Required |
void Set(string cookieName, string cookieValue, SetCookieOptions options);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| cookieName | string | Cookie Name | Required | ||
| cookieValue | string | Cookie Value | Required | ||
| options | SetCookieOptions | Options | Required |