Skip to main content
Sep 7, 2018 7:21 PM UTC
Solved

How to change session timeout setting just for a single user?

I followed below steps:
Subsystems -> UserManagementSubsystem -> Configuration, there is a setting called 'Idle Session Timeout'. The default value is 30 minutes. Set it to desired time > Restart Tomcat .

but this change the session timeout for all the users, I am only looking to change it for a single user.

Sep 10, 2018 7:41 AM UTC

You can have a custom user property setting with the timeout and another property with last operation (that you will need to update each time the user interacts with the server), and a timer that every minute (for instance) checks for logged in users (GetActiveUsers), and for those which are logged check the timeout setting and execute TerminateUserSessions accordingly.

3 replies

Sep 7, 2018 8:19 PM UTC

Hi @njain-31.

 

There currently is no mechanism for setting the session timeout for selected users.  It's a global setting.

 

Regards.

 

--Sharon

 

If my response has answered your question, please mark as Accepted Solution, for the benefit of others who may have the same question.

njain-31Author
Sep 7, 2018 10:39 PM UTC

Can you assist me with possible ways to keep User logged in session alive for log time.
Will external application like auto click on web page can work?

 

 

Sep 10, 2018 7:41 AM UTC

You can have a custom user property setting with the timeout and another property with last operation (that you will need to update each time the user interacts with the server), and a timer that every minute (for instance) checks for logged in users (GetActiveUsers), and for those which are logged check the timeout setting and execute TerminateUserSessions accordingly.