Prevent user from being logged out due to inactivity

Pedro_Romao1
Tera Contributor

 

I have a development task and I’m unsure how to proceed.
Currently, a user is automatically logged out after a period of inactivity, which is the default behavior in the platform. However, the requirement is to ensure that this specific user remains logged in at all times, even without any activity. Is it possible to achieve this behavior, considering that the user is not associated with a MID Server and is not part of any integration? Any guidance or best practices would be appreciated. Thanks in advance!

 

1 ACCEPTED SOLUTION

AndersBGS
Tera Patron
Tera Patron

Hi @Pedro_Romao1 ,

 

i would state that best practice is to log the user out based on inactivity. It is not advised to change this behavior.

 

If my answer has helped with your question, please mark my answer as the accepted solution and give a thumbs up.

Best regards
Anders

Rising star 2024
MVP 2025
linkedIn: https://www.linkedin.com/in/andersskovbjerg/

View solution in original post

2 REPLIES 2

AndersBGS
Tera Patron
Tera Patron

Hi @Pedro_Romao1 ,

 

i would state that best practice is to log the user out based on inactivity. It is not advised to change this behavior.

 

If my answer has helped with your question, please mark my answer as the accepted solution and give a thumbs up.

Best regards
Anders

Rising star 2024
MVP 2025
linkedIn: https://www.linkedin.com/in/andersskovbjerg/

Minh Huy Lam Qu
Giga Sage

Hi @Pedro_Romao1 ,

 

You can refer to this article if you have to implement your requirement https://servicenowguru.com/system-definition/forcing-session-timeout-remember-me-checkbox/

 

Best regards,

Huy Lam