cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

RE: Javascript checks BODYelement.clientWidth before issuing html

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 25 Mar 2007 23:23:51 +0200 (CEST)

On Sun, 25 Mar 2007, Tom Donnelly wrote:

> Ralph - thanks for the response I was using LiveHTTPheaders and Paros Proxy
> to try and trap the differences (with a valid cookie plugged into the header
> using curl_setopt) but then I figured it didn't matter what was in the
> headers since the script must obtain and store in a cookie and re-check that
> a valid BODYelement.clientWidth exists.
>
> The only way for this to exist is for the script to execute in a real
> browser.

That doesn't make sense. The javascript is running in the browser, so if it
sets a cookie when the correct condition is met then you can just as well set
it with libcurl and be happy. The remote site cannot tell if javascript set it
or if something else did.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2007-03-25

These mail archives are generated by hypermail.

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

File upload with ASP.NET