cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: cURL - Sessions?

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Wed, 20 Aug 2008 14:41:10 -0700

On Wed, Aug 20, 2008 at 11:33:28PM +0200, Kabel wrote:
> thanks for your Answer Dan. In fact, you are right, I tried it, and had
> already tried it, but it was exactly there where the problem was. The -c was
> wrong, but with the -b, I have the problem with the session.
>
> So, do you have any idea how I can "store" this session id?

If the session ID isn't stored in a cookie, it's probably stored in a hidden
field on the form. Sometimes, you have to access another page (e.g. the
home page) first to get a session cookie before performing subsequent
requests. See http://curl.haxx.se/docs/httpscripting.html

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved

-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html

  • application/pgp-signature attachment: stored
Received on 2008-08-20