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: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 14 Sep 2009 11:53:30 +0200 (CEST)

On Mon, 14 Sep 2009, info_at_itegic.co.za 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
Received on 2009-09-14

These mail archives are generated by hypermail.

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

File upload with ASP.NET