The Zurich release has arrived! Interested in new features and functionalities? Click here for more

Never Logout My screen or account

Kumar54
Tera Contributor

Hi Community,

I have a question regarding user session timeout behavior in ServiceNow.

Currently, when I leave my ServiceNow screen open, my account eventually logs out or times out. This is causing issues because I need the account to stay logged in and visible on the screen without timing out or auto-logging off.

Could you please advise:

What system properties or configurations control the session timeout?

Are there changes that can be made to prevent the account from auto-logging out?

Are there any best practices or recommended approaches if we want the session to remain active on a shared/display screen?

Any guidance or steps would be really helpful.

2 REPLIES 2

GlideFather
Tera Patron

Hi @Kumar54

 

to achieve this, navigate to this sys prop: glide.ui.session_timeout:

GlideFather_0-1758143373088.png

 

And assign the value to 1441 (1440 = 24 hours x 60 minutes).

 

However, is it a PDI or real instance? PDI will might start hibernating due to the saving the operational costs so it will might have no impact. If it is real client's instance, this is a potential security breach.

 

Do you mind explaining the reason why would one need to stay logged in even in moments of inactivity?

———
/* If my response wasn’t a total disaster ↙️ drop a Kudos or Accept as Solution ↘️ Cheers! */


@Kumar54 also:

Summary of Managing User Sessions in ServiceNow AI Platform

  • User Session Management:

    • View and terminate individual user sessions.
    • Lock out users to prevent login and actions.
    • Mark users as inactive to exclude them from active user references.
  • Session Timeout Configuration:

    • Set a maximum active session time to enhance security.
    • Default session timeout is 30 minutes of inactivity.
    • Adjust timeout settings for both authenticated and guest users.
  • Prompting Users:

    • Users are prompted to extend their session 2 minutes before expiration.
    • This can be adjusted or turned off by setting the glide.ui.session_timeleft property.
  • Locking and Marking Users:

    • Lock out users via User Administration.
    • Mark users as inactive, which also locks them out by default.
  • Terminating Sessions:

    • Terminate sessions for maintenance without locking users out.
    • Only affects the specific session, not the user’s overall access.

Note: Admin role is required for all management tasks.

 

Source: Managing user sessions

———
/* If my response wasn’t a total disaster ↙️ drop a Kudos or Accept as Solution ↘️ Cheers! */