cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: cURL, secure session cookies and following 302 re-directs

From: HART, CHRISTOPHER T <CHRISTOPHER_T_HART_at_fleet.com>
Date: Fri, 2 May 2003 10:52:39 -0400

Not a silly question at all. I had tried the -b and -c options separately,
but never together. This mostly works - I get the page back with the
content I expect. However, after I see the text of the page (and I do see
all of it), curl core dumps. I'm running curl 7.9 on Solaris 8 with OpenSSL
0.9.6b. Anyone have any experience with this happening?

Chris Hart

-----Original Message-----
From: Ralph Mitchell [mailto:rmitchell_at_eds.com]
Sent: Friday, May 02, 2003 1:08 AM
To: curl-users_at_lists.sourceforge.net
Subject: Re: cURL, secure session cookies and following 302 re-directs

Silly question here, but I guess someone has to ask it:  you are engaging
the cookie engine, right?
Something like:
    curl -s -S -L -b cookies -c cookies https://secure.server.com
Ralph Mitchell
 
"HART, CHRISTOPHER T" wrote:
I was hoping someone could provide some assistance with an issue I'm having
with curl.My problem is this: I need to use curl to hit a page over HTTPS
which will send a secure session cookie back and then issue an HTTP 302
re-direct to another URL.The second URL checks to verify that the secure
session cookie is present and then validates some information present in the
cookie.I can't seem to make curl keep this cookie information and provide it
when making the second URL request.Any thoughts on how I can do this?Is
there something I'm missing?
Any help would be appreciated - thanks in advance.

Chris Hart

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2003-05-02