Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 May : Re: CookieManager thread safety

www.cryer.info
Managed Newsgroup Archive

Re: CookieManager thread safety

Subject:Re: CookieManager thread safety
Posted by:"dk_sz" (dk_..@hotmail.com)
Date:Mon, 8 May 2006 14:01:58

> I do not use the cookieManager, so forgive me if these questions are
> inappropriate, but:
>
> 1) Why does each TidHTTP thread not create its own cookie manager?
> 2)  Why would the cookieManager/s be owned by anything?

So... If you have a website crawler you may have
10 threads crawling same domain. They should all
share the same cookies (e.g. if having done login).
It works well and is also the solution suggested...
However, the notification stuff isn't thread safe.


best regards
Thomas Schulz

Replies:

none

In response to:

www.cryer.info
Managed Newsgroup Archive