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

curl-and-php

Re: How to pass set-cookie header to browser

From: <info_at_itegic.co.za>
Date: Sun, 13 Sep 2009 15:12:40 -0500 (CDT)

>header("Set-Cookie: name=value");

I've tried using curl_setopt($ch, CURLOPT_HEADERFUNCTION, '_setHeader')
where _setHeader basically does header(header_response), but the
Set-Cookie header was never accepted by the browser? Not sure whether this
is the way to do it, or whether curl can pass cookie data to browser in
order for cookie to be saved on client machine...

_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2009-09-13