Internet Direct (Indy)
Home
PreviousUpNext
TIdCookies.LockCookieListByDomain Method

Provides resource protection for write access to Cookies in the Cookie collection.

Pascal
function LockCookieListByDomain(
    AAccessType: TIdCookieAccess
): TIdCookieList;
Parameters 
Description 
AAccessType 
Access requested for the resource protection block. 

TIdCookieList - List of Cookies for the specified Domain.

LockCookieListByDomain is a TIdCookieList function that protects write access to resources in the Cookie collection for the using a TMultiReadExclusiveWriteSynchronizer. 

AAccessType is a TIdCookieAccess value that indicates the access type that should be recorded using the resource protection lock. 

The return value for LockCookieListByDomain is the values returned by the CookieListByDomain method call. 

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

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.