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

curl-and-php

how to do session based cookies (non-ssl question!)

From: Jason Sweat <sweatjejm_at_home.com>
Date: Tue, 17 Jul 2001 23:03:35 -0500

CURLOPT_COOKIEFILE works great for disk based cookies(the same ones a
browser would save), 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-07-18