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
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.