Internet Direct (Indy)
Home
PreviousUpNext
TIdCookieManager.CookieCollection Property

Represents a container for Cookies managed by TIdCookieManager.

Pascal
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.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.