View previous topic :: View next topic |
Author |
Message |
Somewhere n00b
Joined: 01 Jul 2008 Posts: 38
|
Posted: Mon Jul 07, 2008 11:06 pm Post subject: $ lynx does not remember cookies |
|
|
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 |
|
|
tomk Bodhisattva
Joined: 23 Sep 2003 Posts: 7221 Location: Sat in front of my computer
|
Posted: Tue Jul 08, 2008 5:43 pm Post subject: |
|
|
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 |
|
|
Somewhere n00b
Joined: 01 Jul 2008 Posts: 38
|
Posted: Tue Jul 08, 2008 5:52 pm Post subject: |
|
|
I have allready set the PERSISTENT_COOKIE and COOKIE_SAVE_FILE (and COOKIE_FILE) options.
It still does not work. :-/ |
|
Back to top |
|
|
tomk Bodhisattva
Joined: 23 Sep 2003 Posts: 7221 Location: Sat in front of my computer
|
Posted: Thu Jul 10, 2008 12:42 am Post subject: |
|
|
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 |
|
|
Phk Guru
Joined: 02 Feb 2004 Posts: 428 Location: [undef], Lisbon, Portugal, Europe, Earth, SolarSystem, MilkyWay, 23Q Radius, Forward Time
|
Posted: Fri Sep 21, 2012 7:37 pm Post subject: |
|
|
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 |
|
|
|