cURL / Mailing Lists / curl-users / Single Mail


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

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 []
Sent: Friday, May 02, 2003 1:08 AM
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
Ralph Mitchell
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 email is sponsored by:ThinkGeek
Welcome to geek heaven.
Received on 2003-05-02