Board index » delphi » Best way to clear cookies from TIdCookieManager?

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
 
 

Re:Best way to clear cookies from TIdCookieManager?

"EJP" <XXXX@XXXXX.COM>writes
Quote
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
 

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.


Gambit
Seems to have done the trick, Thanks!
Jay