cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Logging into mydomain.com

From: Ralph Mitchell <ralphmitchell_at_gmail.com>
Date: Sun, 22 Nov 2009 02:05:23 -0500

On Sat, Nov 21, 2009 at 11:34 PM, Charles <cecrume_at_gmail.com> wrote:

> Hello;
>
> I've been using cURL for a while and am stuck trying to login into
> mydomain.com. It is an https site and my login is immediately redirected
> to their page that says I don't have cookies enabled or perhaps my
> computer's time is way off.
>
> Not sure whether I need (or if it's even allowed) to post a bunch of
> output, but thought I'd ask if anyone could offer some suggestions and/or
> point me in the right direction?
>
> Cookies are enabled via -c "c:\curl2\jar.txt" -- and the file is created
> -- it contains two cookies.
>

If you're not doing this as well: -b "c:\curl2\jar.txt" then your
cookies file won't be loaded prior to doing the page fetch. So, the server
is essentially correct - cookies appear not to be enabled because you're not
loading any to send.

Ralph Mitchell

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-11-22