curl multiple requests cookie issue

Posted by embedded on Stack Overflow See other posts from Stack Overflow or by embedded
Published on 2010-04-16T06:31:44Z Indexed on 2010/04/16 7:13 UTC
Read the original article Hit count: 261

Filed under:
|
|

I'm using curl multi API for multiple curl requests.

first I'm using a single request to login to a site and save the cookie file. then I'm using the curl multi API to get some data from that site.

The problem I'm facing is that from some reason the cookie file does not get read and I'm redirecting to the main login page.

I must say that this work once in awhile so I can't point what went wrong.

Any help would be much appreciated.

Thanks

© Stack Overflow or respective owner

Related posts about curl

Related posts about multi