cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: How to retrive 2 differentes pages in a single curl request...

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 15 Apr 2008 11:57:21 +0200 (CEST)

On Mon, 14 Apr 2008, Lorenzo Ponce wrote:

> I'm trying to get some data from a website, which needs to be logged in.
> The loggin sessions are not persistent, so, if i close the curl script, then
> starting another one, the session would be expired...

First, HTTP is stateless so unless you use NTLM the above statement just isn't
true. You probably just don't provide the proper cookies.

Then, you're clearly using the PHP libcurl binding and thus curl-and-php is
probably a more suitable mailing list!

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