User session longer than the setting in glide.ui.session_timeout

Linda Kendrick
Kilo Guru

I have set the glide.ui.session_timeout to 20 minutes. We are having users install a browser extension that does an automatic refresh. The session is getting refreshed according to the setting in the extension. If a user sets this to 5 minutes, then the session is refreshed every 5 minutes. The 20 minutes timeout setting in ServiceNow doesn't make the user login in again. The session inactivity never gets to 20 minutes. There are users who have set this to every 5 minutes - 15 minutes. Users are also not logging out at night or over the weekend creating excessive and unnecessary log entries.

Has anyone run across this or have an idea to how to really end a users session after a specified time?

1 ACCEPTED SOLUTION

There is a business rule on sys_user called "Lock Out User".


The script is utilizing a GlideSession object - that looks like it would do the job and you could run it for all users (except admins and MID server and other system users)


View solution in original post

10 REPLIES 10

I submitted a ticket to HI and found out that the Logged In Users only shows you the users logged into that node you are logged on to. The logged in users module is a legacy module and ServiceNow used to be one node. An enhancement has been submitted to update the Logged in Users to show both nodes.


Is this fixed now, i also want to capture the users login for all the nodes. Please suggest if there is a way to check all the users logged in to ServiceNow Instance irrespective of the nodes.


Hi Linda,



I just wanted to confirm if that servicenow works on 2 nodes. If yes then when it came on 2 nodes?



Kindly please suggest.



Regards,


Shamma


yes, it is two nodes. I don't know when that happened though.


Hi Linda.



Do you know if is there a solution to log out all users?


I will upgrade to Helsinki and I need to log out all users, but I'm not able to do it.



Time out just works when the user does not flag the option "Keep connected" in the login page.


Logged users just works when the user is "doing something" in the system.