On Tue, Sep 9, 2008 at 1:29 PM, Micah Cowan <[EMAIL PROTECTED]> wrote:
> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Donald Allen wrote: > > The result of this test, just to be clear, was a page that indicated > > yahoo thought I was not logged in. Those extra items firefox is sending > > appear to be the difference, because I included them (from the > > livehttpheaders output) when I tried sending the cookies manually with > > --header, I got the same page back with wget that indicated that yahoo > > knew I was logged in and formatted with page with my preferences. > > Perhaps you missed this in my last message: > > >> Probably there are session cookies involved, that are sent in the first > >> page, that you're not sending back with the form submit. > >> --keep-session-cookies and --save-cookies=<foo.txt> make a good > >> combination. > I think we're mis-communicating, easily my fault, since I know just enough about this stuff to be dangerous. I am doing the yahoo session login with firefox, not with wget, so I'm using the first and easier of your two suggested methods. I'm guessing you are thinking that I'm trying to login to the yahoo session with wget, and thus --keep-session-cookies and --save-cookies=<foo.txt> would make perfect sense to me, but that's not what I'm doing (yet -- if I'm right about what's happening here, I'm going to have to resort to this). But using firefox to initiate the session, it looks to me like wget never gets to see the session cookies because I don't think firefox writes them to its cookie file (which actually makes sense -- if they only need to live as long as the session, why write them out?). /Don > > > - -- > Micah J. Cowan > Programmer, musician, typesetting enthusiast, gamer. > GNU Maintainer: wget, screen, teseq > http://micah.cowan.name/ > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.7 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFIxrJ17M8hyUobTrERAvdsAJ9XEwMfimHXRUXKtV66P+YsG+tA7gCfWKbq > nCqAmXJfU3kTncMQkKk0JZo= > =17Yr > -----END PGP SIGNATURE----- >