Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
$ lynx does not remember cookies
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Somewhere
n00b
n00b


Joined: 01 Jul 2008
Posts: 38

PostPosted: Mon Jul 07, 2008 11:06 pm    Post subject: $ lynx does not remember cookies Reply with quote

Hi,

Even when I have set the "cookie_file=~/.config/lynx_cookies" option in my ~/.lynxrc config file; Lynx is still not able to remeber cookies from session to session. Why is this? Is there some global option turning this off?
Back to top
View user's profile Send private message
tomk
Bodhisattva
Bodhisattva


Joined: 23 Sep 2003
Posts: 7221
Location: Sat in front of my computer

PostPosted: Tue Jul 08, 2008 5:43 pm    Post subject: Reply with quote

You need to set the PERSISTENT_COOKIES option to true so that it will save the cookies across sessions, you should also set the COOKIE_SAVE_FILE option to the same file as what you've got COOKIE_FILE set to. Also if you don't want to be prompted to accept cookies each time you can set the ACCEPT_ALL_COOKIES option to true so that it will automatically accept every cookie.
_________________
Search | Read | Answer | Report | Strip
Back to top
View user's profile Send private message
Somewhere
n00b
n00b


Joined: 01 Jul 2008
Posts: 38

PostPosted: Tue Jul 08, 2008 5:52 pm    Post subject: Reply with quote

I have allready set the PERSISTENT_COOKIE and COOKIE_SAVE_FILE (and COOKIE_FILE) options.

It still does not work. :-/
Back to top
View user's profile Send private message
tomk
Bodhisattva
Bodhisattva


Joined: 23 Sep 2003
Posts: 7221
Location: Sat in front of my computer

PostPosted: Thu Jul 10, 2008 12:42 am    Post subject: Reply with quote

The PERSISTENT_COOKIES option can only be enabled in /etc/lynx.cfg the other options can be set in ~/.lynxrc
_________________
Search | Read | Answer | Report | Strip
Back to top
View user's profile Send private message
Phk
Guru
Guru


Joined: 02 Feb 2004
Posts: 428
Location: [undef], Lisbon, Portugal, Europe, Earth, SolarSystem, MilkyWay, 23Q Radius, Forward Time

PostPosted: Fri Sep 21, 2012 7:37 pm    Post subject: Reply with quote

Hey (sorry for posting 4 years later), but the cookie_save_file option doesn't work.

I'm using
Quote:
lynx -cookie_file=/home/phk/.lynx_cookies http://www.rackspace.co.uk/ -crawl -traversal -cookie_save_file=/home/phk/.lynx_cookies


And the /home/phk/.lynx_cookies file is never altered.

My /etc/lynx.cfg:
Quote:
phk@Phk-Laptop:~/Desktop/teste$ cat /etc/lynx.cfg
PERSISTENT_COOKIES:TRUE
SET_COOKIES:TRUE
ACCEPT_ALL_COOKIES:TRUE
PERSISTENT_COOKIES:TRUE
COOKIE_FILE:/home/phk/.lynx_cookies
COOKIE_SAVE_FILE:/home/phk/.lynx_cookies
FORCE_SSL_COOKIES_SECURE:FALSE


Any ideas?
_________________
"# cat /dev/urandom >> /tmp/life"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum