Internet Direct (Indy) Version 9.0.1 Beta
TIdNetscapeCookie
Implements a persistent state mechanism for HTTP connections using Cookies.

TIdNetscapeCookie = class(TCollectionItem)
Description
TIdNetscapeCookie is a TCollectionItem descendant that implements a persistent state mechanism used to store and retrieve about HTTP client connections using Cookies, as described in the reference document:

TIdNetscapeCookie provides methods and properties to allow introduction of one or more Cookie values and associated Cookie attributes to the client as part of an HTTP response, including the common Cookie headers Name, Value, Domain, Path, and Secure.

TIdNetscapeCookie also implements the Expires header to let the client know when it is safe to purge Cookie data.

TIdNetscapeCookie can also be used to represent Cookie values returned from a client to an HTTP Server.

TIdNetscapeCookie is used as the ancestor for descendant classes that implement alternate Cookie representations, including TIdCookie2109 and TIdCookie2965.