cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Problem with the cookie jar

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 18 Jan 2008 13:36:08 +0100 (CET)

On Fri, 18 Jan 2008, aniket ray wrote:

> I am writing 2 different cookies with the same name and domain but different
> paths. The problem is that at the next request one of the cookies is getting
> deleted from the cookie jar. Let us say the domain = abc.com, path = /xyz/
> c1=hello and the other cookie is something like domain = abc.com, path =
> /pqr/ and c1 = bye

Can you please show us either a full recipe, but at least the response headers
from the servers that cause this? I just had a look in the sources and it
seems to allow the same name with different paths.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2008-01-18