cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-and-php mailing list Archives

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

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET