cURL / Mailing Lists / curl-users / Single Mail

curl-users

[ curl-Bugs-495290 ] Cookie trouble.

From: <noreply_at_sourceforge.net>
Date: Wed, 19 Dec 2001 20:25:47 -0800

Bugs item #495290, was opened at 2001-12-19 20:25
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=100976&aid=495290&group_id=976

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Cookie trouble.

Initial Comment:
I've tried several different methods to keep track of
cookies. So far, no luck. cURL 7.9.2

1. Using cookieJar: I can see the cookies sent back in
the header, there are two, they are directed
to "domain=.ebay.com", the URL I am getting is at
cgi3.ebay.com. Looking at the cookie file, one of the
cookies is set to cgi3.ebay.com the other ebay.com.
When I get a page from cgi2.ebay.com the one cookie
apparently is not sent.

2. When I ask for header only (-I) I only get the
first line of the header, no cookie information.

3. I have tried these experiments calling the cURL
command line from a PHP script and using the built in
cURL PHP functions, the results are the same. (Except
I get the first line of the header twice when I use
PHP built in functions)

4. Using PHP functions I try to make both gets in the
same session. I get an error message saying one exec
per session, try a newer version of PHP. (I'm using
version 4.1)

I would really like to get this to work. It seems
like basically a great system. Handling https:
transactions is a dream, if it weren't for cookies.

PS

After one more try.

V!I!C!T!O!R!Y

By using save header (-D filename) and read cookie
file (-b filename) goal was achieved (after many hours
of testing). I spent two days looking at other
possible issues before I even investigated cURL
problems.

----------------------------------------------------------------------

You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=100976&aid=495290&group_id=976
Received on 2001-12-20