Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Mar : Re: TidCookieManager questions (threads)

www.cryer.info
Managed Newsgroup Archive

Re: TidCookieManager questions (threads)

Subject:Re: TidCookieManager questions (threads)
Posted by:"dk_sz" (dk_..@hotmail.com)
Date:Fri, 23 Mar 2007 15:50:10

> TIdCookies is slightly "odd" in the sense it is a collection...
> With its own data and where access isn't threadsafe...
> ...But also contains FCookieListByDomain where all
> access are done through the lock (thus threadsafe)

Do I need to maintain both the collection itself
and FCookieListByDomain? (The latter does protect
against duplicates, e.g. in TIdCookies.AddCookie)


best regards
Thomas Schulz

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive