-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Donald Allen wrote:
>> 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?).

Yes, and I understood this; the thing is, that if session cookies are
involved (i.e., cookies that are marked for immediate expiration and are
not meant to be saved to the cookies file), then I don't see how you
have much choice other than to use the "harder" method, or else to fake
the session cookies by manually inserting them to your cookies file or
whatnot (not sure how well that may be expected to work). Or, yeah, add
an explicit --header 'Cookie: ...'.

- --
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

iD8DBQFIxrVD7M8hyUobTrERAt19AJ9bmmczCKjzMtGCoXb8B5g25uMLRQCeK8qh
M57W3Reqj+/pO8GuDwb9Nok=
=ajp/
-----END PGP SIGNATURE-----

Reply via email to