cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: multiple cookies with curl ?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 28 Aug 2000 08:27:46 +0200 (MET DST)

On Fri, 25 Aug 2000, WILSON, Nick wrote:

> Just wondering if curl has support for multiple cookies ?

Yes it has.

> I had a quick glance through the code but my C is not quite at guru
> status just yet. It didn't look like it unless it was stored in a file ?
> And the file needs the full expression, ie Set-Cookie: Key=Val; etc etc

You can set them all with -b/--cookie. If you set them manually, then just
add the amount you see fit, if you read them from a file, curl will use all
it finds matching the domain and patht you're requesting.

-- 
      Daniel Stenberg - http://daniel.haxx.se - +46-705-44 31 77
   ech`echo xiun|tr nu oc|sed 'sx\([sx]\)\([xoi]\)xo un\2\1 is xg'`ol
Received on 2000-08-28