cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: c++: cookies not working in libcurl

From: Shaaa <shaolinfinest_at_gmail.com>
Date: Sat, 21 Aug 2010 15:26:38 +0100

Thank you jeff - I enabled verbose and discovered no cookie was beening sent
in the header. The cookie filename was mispelled.

On 21 August 2010 11:32, Jeff Pohlmeyer <yetanothergeek_at_gmail.com> wrote:

> On Sat, Aug 21, 2010 at 5:12 AM, Shaaa wrote:
>
> > I can retrieve the page but it tells me I must be logged in to access the
> > content. I tried to access the content with wget --load-cookies (using
> the
> > same cookie) and it worked.
>
>
> Some things to try:
> CURLOPT_REFERER
> CURLOPT_AUTOREFERER
> CURLOPT_USERAGENT
>
>
> You might be able to get some clues about why it's not
> working by setting CURLOPT_VERBOSE and comparing the
> output with wget's -d option.
>
>
> - Jeff
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-library
> Etiquette: http://curl.haxx.se/mail/etiquette.html
>

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-08-21