LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
LinkBack Search this Thread
Old 10-20-2006, 04:44 PM   #1
mortrek
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

Thanks
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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 03:35 AM
Where do cookies etc go? Bill Johns Linux - Security 3 04-11-2005 03:35 AM
xfce4-session fails to save session ! OneManArmy Debian 0 12-10-2004 02:14 PM
add a session to Session of gdm freenet Linux - Software 0 08-07-2003 05:21 AM
cookies sandy General 4 09-06-2002 01:00 PM


All times are GMT -5. The time now is 09:45 PM.

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