|
Wget and Session Cookies
I've been trying to use Wget with session cookies using --keep-session-cookies, --save-cookies=name and --load-cookies=name as it says to in every doc on the net (which are all essentially the same).
However, the session cookies are never saved to the file. There is no sort of failure message or the like, and I *know* the website hands out a session cookie. I can watch it in FF w/"Tamper Data" (an extension).
I've also read that versions beyond 1.9.1 had this problem, and I was previously using 1.10.2, but I've even tried 1.9.0 with no success.
Does anyone know why wget would not be storing its session cookies?
An example line:
wget --cookies=on --keep-session-cookies --post-file="postfile.txt" "websiteaddress.." -O "./%1/login.html" --save-cookies=cookies.txt
after this step, cookies.txt simply has the wget header but no cookie data
Thanks
|