cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Any way to impose restrictions on cookies..?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 9 Jan 2012 16:50:11 +0100 (CET)

On Mon, 9 Jan 2012, Vicky Tux wrote:

> Is there any way to impose restrictions on cookies like,number of cookies
> per domain, maximum cookie size,etc..?

No, there isn't any other than the built-in ones. They are basically only for
limiting the cookie name lengths and content sizes. There's are no limits per
domain or per total number of cookies etc.

> Also I don't find any flexible method to iterate over cookies for particular
> domain..?

To iterate over cookies you basically only have the CURLINFO_COOKIELIST and
then you get all cookies in one big list.

If you have specific suggestions or ideas for improvement of this area, please
tell us!

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2012-01-09