cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Javascript Cookies

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 22 Jan 2008 00:33:22 +0100 (CET)

On Mon, 21 Jan 2008, Michael Hecker wrote:

> I'm trying to automate the communication with a website and it seems as if
> some cookies are set by javascript. Since I don't want to set the cookies
> manually, I would like to know if one of you ever had the same problem.

You parse the HTML and figures out what the javascript does, and does that for
it.

Or you add a javascript parser to your application.

Or you add a javascript-to-[NNN] translator to your application and then
executes the [NNN] program.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2008-01-22