It’s me again Joe KA6JOE. Does anyone knows how to stop or turn off automatic Logout on Supermon 7.4+? It seems like it logs me out every after 20 or 30 minutes. When I use Allmon3 which is the backside of Supermon 7.4+. it doesn’t happen and it stays logged on indefinitely unti I log out.
As always, your help and reply to my query is greatly appreciated,
is the nodes switching manually to connect or are you wanting to do it automatically?
you can try this
For Supermon, check the value of you "session.gc_maxlifetime= " setting in /etc/php/7.x/apache2/php.ini. The default value is 1440 seconds (24 minutes), which was driving me crazy. For more information, refer to What is the default lifetime of a session?
That old code uses PHP sessions, as mentioned above by default PHP sessions close when you close the session (browser).
In PHP settings by default set session.cookie_lifetime to 0 meaning when you close the session, the session ends.
You can adjust that by setting the lifetime to say 7 days by editing either the main PHP config, or the file in the supermon package session.php and adding something like this before the session_start() line