Topic Path: Symbol Reference > Classes > TIdCookieManager Class > TIdCookieManager Properties > CookieCollection Property
ContentsIndexHome
PreviousUpNext
TIdCookieManager.CookieCollection Property

Represents a container for Cookies managed by TIdCookieManager.

property CookieCollection: TIdCookies;

CookieCollection is a read-only TIdCookies property that represents the Cookie class instances maintained by the TIdCookieManager for the HTTP client. 

CookieCollection is accessed when TIdCookieManager creates new Cookie class instances in calls to AddCookie or AddCookie2, and when the textual Cookie content is prepared using GenerateCookieList

Use the OnNewCookie event handler to manage the CookieCollection when new Cookie class instances are created in AddCookie or AddCookie2

Use the OnCreate and OnDestroy event handlers to manage the CookieCollection during creation or destruction of the TIdCookieManager class instance.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.