Re: How to pass set-cookie header to browser
Daniel Stenberg <[email protected]>
| Newsgroups | gmane.comp.web.curl.php |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 14 Sep 2009, [email protected] wrote: > Thought it was a security issue...Is there any other way I can do the cookie > stuffing part, and redirect to the final altered url? > > I've got the following code written in CGI\Perl which seems to do that.. No, you can't do that using HTTP and cookies at all, no matter which language. Probably the only way to inject cookies into the stream in a way that the browser won't reject is if you make your code work as a proxy and you configure the browser to use your service as a proxy. -- / daniel.haxx.se _______________________________________________ http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php