Session timeout refers to the period of inactivity after which a user’s session is automatically terminated, requiring re-authentication to access the system. This feature prevents unauthorized access to sensitive information in case a user leaves their session unattended or forgets to log out. Configuring session timeouts in ServiceNow involves setting the duration of user sessions based on organizational security policies and user requirements.
By default, sessions expire only after a period of inactivity. Enforcing a maximum active session time ends sessions regardless of whether a user has been active recently, including whether they recently selected to extend a session. The active session timeout should be greater than the value configured for the inactive session timeout. For example, if sessions are configured to time out after 30 minutes of inactivity, the active session timeout should be greater than 30 minutes.
Step 1: Access System Properties:
Log in as an Administrator, navigate to "sys_properties.list" using the navigation filter, and press "enter."
Step 2: Filter Properties:
Search for the following properties:
Step 3: Set Values:
Enter the desired duration (in minutes) in the Value field for each property.
The value should be greater than the value of the corresponding properties for an inactive session timeout: glide.ui.session_timeout for authenticated users or glide.guest.session_timeout for guest users. By default, the inactive session timeout for both authenticated and guest users is 30 minutes.
Step 4: Update:
Save the changes to apply the configured session timeouts.
Specify when to time out user sessions after a period of inactivity. By default, after 30 minutes of inactivity in the application, the platform logs the user out automatically unless the "Remember Me" check box in the login screen is selected. Making the interval longer can lead to the unnecessary maintenance of inactive sessions in memory. Adjust this timeout setting to no more than a few hours, although up to 24 hours is workable.
Note:
Step 1: Accessing UI Properties:
Logged in as an Administrator, navigate to the "System Properties" section and select "UI Properties".
Step 2: Clear "Remember Me" from the Login Page:
Search on the properties "Remove 'Remember Me” checkbox from the login page. And uncheck the checkbox.
To do this, you need to elevate your role to "security_admin"
Step 3: Access System Properties:
Log in as an Administrator and navigate to "sys_properties.list" using the navigation filter, and press "enter".
Step 4: Filter Properties:
Search for the "glide.ui.session_timeout" property.
If "glide.ui.session_timeout" doesn’t exist, select the "New" button to add a new property using the following values:
Administrators may also want to add the following properties to the System Properties table.
Note: Users who select the ”Remember Me” checkbox are unaffected by session timeout properties.
Administrators can also add the following properties to configure additional timeout settings for user sessions. These additional settings help to conserve system resources:
Configuring session timeout in ServiceNow is a crucial step in enhancing security and efficiency within your organization. By setting appropriate session durations and enforcing maximum active times, you can protect sensitive information from unauthorized access and optimize system performance. This guide has outlined the necessary steps to configure session timeouts, including adjusting properties and implementing best practices. By following these recommendations, you can ensure that your ServiceNow environment remains secure and efficient, providing a better user experience and protecting valuable data.