Re: How to pass set-cookie header to browser

[email protected]
Newsgroups gmane.comp.web.curl.php
Message-ID <[email protected]>
>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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.