Text based browser - Can't stay logged in a website
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Text based browser - Can't stay logged in a website
Hello
I got root access to a linux server. It's running debian 5.0. I installed lynx, firefox and some other stuff.
One of the things I want to do is to keep a website open so that it shows me as "online" all the time.
I can do that with firefox, I use VNC to connect to my server, open firefox, login to the website and I just leave it there.
But if I do the same thing with lynx it logs off after some time. Why??
The website does not require me to click links, browse or do anything to make me stay online. I do the exact same thing in firefox and lynx. I also accepted the cookies in lynx.
Did I miss a setting or what else could cause this?
In order for websites to let you be logged in, they send a cookie to your computer and the *logout* button deletes these cookies *( i used to write a lot of php login systems )* Maybe Lynx Browser Doesn't store cookies? Or Just Deletes them after a certain amount of time?
To a large extent it depends on the website itself how the login status is handled. Cookies are only part of the equation. To keep the login status alive some online activity is required, though this doesn't have to be initiated by the user - in some cases javascripts and/or AJAX routines can resend signals to show that the browser and the user's computer is still running. All of this is only relevant if the website assumes logins as being closed after some time of inactivity. I guess you will need a text browser that can deal with javascript properly. Or try Dillo, which is a very simplified GUI web browser.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.