cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Web Login

From: Ralph Mitchell <ralphmitchell_at_gmail.com>
Date: Thu, 29 May 2008 23:59:32 -0500

On Thu, May 29, 2008 at 4:48 PM, Daniel Stenberg <daniel_at_haxx.se> wrote:

>
> [snip]

> First, servers mostly use cookies to track the logged-in status of the
> client, so you will need to capture the cookies you receive in the
> responses. Then, many sites also set a special cookie on the login page
> (to
> make sure you got there through their login page) so you should make a
> habit
> of first getting the login-form page to capture the cookies set there.

I've run into a couple of sites that set cookies on the home page, so I had
to start at the home page and "click" though the login link. So, you can't
always jump direct to the login page.

Ralph Mitchell
Received on 2008-05-30