cURL / Mailing Lists / curl-library / Single Mail


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

From: Daniel Stenberg <>
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!

List admin:
Received on 2012-01-09