cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Multiple Set-Cookie lines

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 19 Mar 2001 09:30:45 +0100 (MET)

On Sun, 18 Mar 2001, Christian Robottom Reis wrote:

> Though we can of course specify cookies separated by semi-colons, is
> there a way to get curl to set multiple Set-Cookie lines? I believe it
> can be done through header manipulation alone, but I wondered if there's
> a more straightforward way.
>
> My test site here doesn't seem to like the ;s.

No, there's no other way to do it. Remember to put a space after each ; as
some servers require such. I.e:

  "cookie1=value1; cookie2=value2;"

-- 
  Daniel Stenberg -- curl project maintainer -- http://curl.haxx.se/
_______________________________________________
Curl-library mailing list
Curl-library_at_lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/curl-library
Received on 2001-03-19