On Fri, 2004-02-13 at 21:27, Emre Sokullu wrote: > Thanx very much Oleg for your answers, I have a few things to say : > > > > 1) How can I reject all cookies ? (code please) > > > > This feature is only available in the development version of HttpClient > > (3.0, which is currently in pre-alpha development stage). There's no > > straight-forward way to automatically reject all the cookies in the > > stable version (2.0 branch) of HttpClient > > > > While waiting for the upcoming release, we can solve this problem > temporarily by : > > setting up a very old date in purgeExpiredCookies(Date) method. > > I didn't try it. But I think it may work... >
That should work indeed. Alternatively you can remove unwanted cookies manually using methods of the HttpState class Hope this helps, Cheers, Oleg > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]