cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Re: cURL and secure server

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Tue, 9 Mar 2004 15:08:04 +0100 (CET)

On Tue, 9 Mar 2004, Michael Sisson wrote:

> How do you send the cookie? CookieJar? What would you do?

Since you would first need to figure out what cookie to send, I suppose you
need to do some kind of login or something.

Then I would use CURLOPT_COOKIEJAR when doing the login to get the cookies
from the site and store them in a file.

Then I'd use CURLOPT_COOKIEFILE in the subsequent request to use the
previously retrieved cookie(s).

-- 
    Daniel Stenberg -- http://curl.haxx.se/ -- http://daniel.haxx.se/
   [[ Do not send mails to this email address. They won't reach me. ]]
Received on 2004-03-09