Board index » delphi » Best way to clear cookies from TIdCookieManager?
EJP
Delphi Developer
Best way to clear cookies from TIdCookieManager?
2005-08-12 10:12:35 PM delphi216
At times I need to clear the cookies from my cookie manager. I was
using
IdCookieManager.CookieCollection.Clear;
I'm not sure if the update created the problem, but after updating
from Indy 9.0.14 to 9.0.18 I have been getting exceptions within
TIdCookieManager.CleanupCookieList after doing this.
Does anyone know the best way to clear cookies?
TIA,
Jay
Remy Lebeau (TeamB)
Delphi Developer
2005-08-13 01:16:39 AM
Re:Best way to clear cookies from TIdCookieManager?
I'm not sure if the update created the problem, but after updating
from Indy 9.0.14 to 9.0.18 I have been getting exceptions within
TIdCookieManager.CleanupCookieList after doing this.
TIdCookieManager has a DestroyCookieList() method. Use that instead.
Gambit
EJP
Delphi Developer
2005-08-13 05:29:33 AM
Re:Best way to clear cookies from TIdCookieManager?
On Fri, 12 Aug 2005 10:16:39 -0700, "Remy Lebeau \(TeamB\)"
<XXXX@XXXXX.COM>writes:
Quote
TIdCookieManager has a DestroyCookieList() method. Use that instead.