Table of Contents

Interface ICookieCollection

Namespace
Dynamicweb.Environment
Assembly
Dynamicweb.Environment.dll
Interface ICookieCollection is an abstraction of HttpCookieCollection. Provides a type-safe way to manipulate HTTP cookies.
public interface ICookieCollection : ICollection, IEnumerable
Inherited Members

Properties

this[string]

Gets the Cookie with the specified key.
Cookie this[string key] { get; }

Parameters

key string
The key.

Property Value

Cookie
Cookie.

Methods

Adds the specified cookie.
void Add(Cookie cookie)

Parameters

cookie Cookie
The cookie.

Remove(string)

Removes the specified name.
void Remove(string name)

Parameters

name string
The name.
Sets the specified cookie.
void Set(Cookie cookie)

Parameters

cookie Cookie
The cookie.
To top