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

curl-and-php

session cookies

From: Jason Sweat <sweatjejm_at_home.com>
Date: Sun, 8 Jul 2001 07:04:28 -0500

CURLOPT_COOKIEFILE works great for disk based cookies, but I was wondering
if there is a similar mechanism for dealing with session based cookies. i.e.
I want the same curl connection handle to send back the session cookies
without my intervention.

So far the only luck I have had to enable headers on the page that sends the
session based cookies and parse them out of the headers and resend with all
subsequent requests using CURLOPT_COOKIE.

TIA

Jason

_______________________________________________
Curl-and-php mailing list
http://curl.haxx.se/
Received on 2001-08-02