Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 10-20-2006, 05:44 PM   #1
LQ Newbie
Registered: Feb 2006
Posts: 6

Rep: Reputation: 0
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



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LQ Cookies don't seem to take Simon Bridge LQ Suggestions & Feedback 3 05-03-2005 04:35 AM
Where do cookies etc go? Bill Johns Linux - Security 3 04-11-2005 04:35 AM
xfce4-session fails to save session ! OneManArmy Debian 0 12-10-2004 03:14 PM
add a session to Session of gdm freenet Linux - Software 0 08-07-2003 06:21 AM
cookies sandy General 4 09-06-2002 02:00 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:25 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration