Internet Direct (Indy) Version 9.0.2 Beta
TIdCookies.Create
Constructor for the object instance.

constructor Create(AOwner: TPersistent);
Parameters
AOwner: TPersistent
Owner of the collection.

Description
Create is the constructor for the object instance. Create calls the inherited Create method using AOwner as the owner of the collection, and TIdCookieRFC2109 as the ItemClass maintained in the collection.

Create initializes the TIdCookieList used by the CookieListByDomain property, and sets Sorted to False in the object property. Create also allocates an internal TMultiReadExclusiveWriteSynchronizer instance that is used to protect access to the collection in a multi-threaded application.