Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Nov : TIdCookieManager.AddCookie
| Subject: | TIdCookieManager.AddCookie |
| Posted by: | "MrT" (conta..@heat-mi.org) |
| Date: | Thu, 22 Nov 2007 13:03:39 |
Hi:
How is
IdHttpClient1.CookieManager.AddCookie('MyCookie=MyCookieValue','www.mydomain.com');
this used, where should it be called and how is it related to:
TIdCookieManager.OnNewCookie
Seems like OnNewCookie fires on AddCookie but also fires when I connect
to a site that sends cookie.
I see no OnCookieReceived or some such event.
Does the cookie manager send back the cookie automatically when a site
requests the cookie?
Any example of this anywhere?
Thanks.
Best regards