cURL
Haxx ad
libcurl

Shopping cart software, Online file storage, Online photo storage, Hosted shopping cart, Contact management software, Email marketing software, Project management software, Issue tracking software, Online notepad, Web publishing software

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Archives

Re: Two cookies with the same name

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 9 Feb 2010 22:29:38 +0100 (CET)

On Tue, 9 Feb 2010, Andrés García wrote:

> A user of TclCurl has emailed a problem he's got trying to emulate the SAP
> web client. In his own words:

...

> As far as I can see, libcurl will overwrite the first one given to it with
> the second.
>
> Is there a way to send both?

libcurl will send both if they are set for different paths or for different
domains. We even have a test case that verifies that it works!

However, the sort order of outgoing cookies is a real mess and libcurl will
not use the exact same order as most browsers even though 7.20.0 will at least
be closer to them for the most of the time. See my recent rant on this topic:

         http://daniel.haxx.se/blog/2010/01/20/cookie-order/

-- 
  / daniel.haxx.se

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

These mail archives are generated by hypermail.

donate! Page updated December 08, 2009.
web site info

File upload with ASP.NET