Internet Direct (Indy) Version 9.0.2 Beta
TIdCookieManager.OnDestroy
Event handler signalled during the Create method.

property OnDestroy: TOnDestroyEvent;
Description
OnDestroy is a TNotifyEvent property that represents the event handler signalled during destruction of the TIdCookieManager object instance. OnDestroy can be used to handle management of the CookieCollection when the TIdCookieManager calls the Destroy method.

Applications must assign a procedure to the event handler to allow responding to the event notification.

Use OnCreate to handle management of the CookieCollection when the object instance is created.