NetXMS Support Forum

English Support => General Support => Topic started by: Leobute on June 25, 2021, 09:53:48 AM

Title: Change Netxms Login Page Timeout
Post by: Leobute on June 25, 2021, 09:53:48 AM
Hi all, sorry for the question but i am quite new in this netxms world.
My company has several netxms to monitor.
On each Edge Browser tab it has a netxms console to monitor .
My problem is that after logged in (in each tab for each netxms page) , after 30 minutes i have to log in again !!!
Is there a setting in which i change the netxms login page NOT to expire , or to expire every 8 hours ?
Can you help me ?

Thanks a lot.
Title: Re: Change Netxms Login Page Timeout
Post by: Victor Kirhenshtein on July 12, 2021, 07:21:48 PM
Hi,

try to set property sessionTimeout for nxmc.war to 28800 (is is 8 hours in seconds). There are multiple ways to set property for web UI application:

1. In nxmc.properties file - it should be somewhere in class path.
2. In JVM options - should be prefixed with nxmc., so you will have to specify -Dnxmc.sessionTimeout=28800 in JVM options.
3. In environment variables, prefixed with NXMC and converted to uppercase, in your scenario it will be NXMC_SESSIONTIMEOUT=28800

Best regards,
Victor
Title: Re: Change Netxms Login Page Timeout
Post by: Leobute on July 20, 2021, 11:26:28 AM
Hi, thx for the reply. Sorry if i am in late answering you.
I will try and le tyou know.
Thanks