Internet Direct (Indy) Version 9.0.1 Beta
TIdCookies.UnlockCookieListByDomain
Releases resource protection for accessing Cookies in the Cookie collection.

procedure UnlockCookieListByDomain(AAccessType: TIdCookieAccess);
Parameters
AAccessType: TIdCookieAccess
Access requested for the resource protection block.

Description
UnlockCookieListByDomain is a procedure that releases the resource protection block for the Cookie collection created using LockCookieListByDomain. AAccessType is a TIdCookieAccess value that indicates the access type that should be released for the resource protection block.

UnlockCookieListByDomain is used by methods that create or free items in the Cookie collection, like Add and Delete.