curl-and-php
Re: Getting and passing a cookie...
Date: Tue, 18 Feb 2003 00:18:47 +0100 (CET)
On Mon, 17 Feb 2003, Paperstuff.com wrote:
> Here is the header that has the cookies. Here you see the cookies, because
> I put USERNAME and PASSWORD - which obviously aren't my real ones, so it
> gave the different header. If I put my actual username and password in, it
> gives the much smaller header.
Yes, but then this is hardly a step closer, is it?
And a suggestion: the headers are line-oriented. When you show them all
messed up in one huge chunk they're very hard to read and understand. It is a
lot better and easier to read if you make sure to maintain the linefeeds
properly.
Let me guess: when you login with a bad user name, it puts you back to the
orignal login page? And when doing so, it gives you a set of cookies it
requires when you login using the proper name. But, if you only login using
your proper name and password, it considers the login OK but fails anyway
since you don't pass along any cookies.
I may of course be completely wrong.
-- Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sfReceived on 2003-02-18