Session timeout in ServiceNow depends on which session or cookie is expiring. Authenticated inactivity uses a minutes-based setting, while Remember Me cookies use day-based limits. Guest sessions have a separate override. Review these controls together, then test sign-in, idle work, and exceptions before changing the policy for users.
Match the session timeout in ServiceNow to the symptom
Start with the event that sends the user back to sign-in. A person who steps away from an open instance has a different problem from someone returning days later with Remember Me selected. Changing a cookie lifetime to address an idle-session complaint targets a different control and can leave the original problem unresolved.
The settings below follow Brazil behavior. Check their values and effects on your instance and release before rollout. For a review that extends beyond timeout behavior, use the session limits and hardening settings guide.
- Authenticated inactivity: glide.ui.session_timeout sets the idle period in minutes.
- Remember Me window: glide.ui.user_cookie.life_span_in_days sets the renewable Remember Me cookie window in days, subject to the maximum lifetime.
- Remember Me maximum lifetime: glide.ui.user_cookie.max_life_span_in_days limits how long the remembered-login cookie can remain valid.
- Guest inactivity: glide.guest.session_timeout provides an idle-session override for unauthenticated users.
- Active-session exceptions: glide.active.session.timeout.exception.roles identifies roles exempt from active session timeout limits.
For each complaint, record whether the user was authenticated, whether Remember Me was selected, how long the browser was idle, and which roles the account held. Treat these as test conditions. A report that simply says “login expired” does not identify the setting that needs attention. Also record whether the problem affects one account or several accounts following the same journey. That comparison helps choose the next controlled test without assuming that all sign-in interruptions have the same cause.
Set an authenticated idle period that users can work within
The glide.ui.session_timeout property measures authenticated user inactivity in minutes. Its default and fallback are 30 minutes, and the hardening recommendation is 30 minutes or less. Reducing it shortens the time an unattended session remains available, but also brings forward the point at which an idle user must authenticate again.
- Inspect glide.ui.session_timeout in System Properties at /sys_properties_list.do. Record whether the property exists and, if present, its current value.
- Compare the effective setting with the 30-minute-or-less recommendation. An absent property is a distinct finding from a deliberately configured value.
- Select a candidate value using the organization’s unattended-session requirements and the pauses involved in real work.
- Test an authenticated account through an idle interval beyond that value. Record the elapsed time and the next interaction that requires sign-in.
- Repeat with representative long forms and workflows before approving the change.
The static property glide.ui.max_session_timeout caps the effective inactivity value at 1,440 minutes. Entering a larger number in glide.ui.session_timeout does not provide an unlimited idle session. Keep this cap separate from the much shorter recommended hardening value.
A user can spend time reading or preparing a long response without completing an interaction that keeps the session alive. Include that working pattern in acceptance testing, alongside a deliberately abandoned browser. For a closer review of this property, see glide.ui.session_timeout configuration.
Review both Remember Me cookie limits
Remember Me affects remembered authentication through a cookie. The two cookie properties use days rather than the minutes used for UI inactivity. Evaluate them as a pair so that the chosen return-login window and maximum lifetime reflect the same access policy.
Choose the remembered-login window
The glide.ui.user_cookie.life_span_in_days property determines how long the cookie lasts without another visit. Successful sign-in starts the window; returning with Remember Me enabled renews it. Renewal stops at the lifetime boundary set by glide.ui.user_cookie.max_life_span_in_days. Its default is 15 days, its maximum is 30 days, and the hardening recommendation is 15 days or less. A longer window gives a stolen cookie more time to remain usable.
Choose the intended window and include accounts that select Remember Me in testing. Keep a separate test account without that selection. This makes it easier to tell whether a reported result follows remembered authentication or the ordinary idle-session policy.
Limit the maximum cookie lifetime
The glide.ui.user_cookie.max_life_span_in_days property sets the maximum lifetime of cookies created for remembered login. The default is 30 days; the recommendation is 30 days or less. Expiration requires the user to authenticate again, and the control prevents cookie rotation from extending remembered access beyond the configured timeframe.
The maximum cookie lifetime is not a universal deadline for every active user session. Keep any requirement for a maximum active-session duration separate from the remembered-login decision. An acceptance test for cookie expiration cannot, by itself, establish that an actively used session has the intended overall duration. Define which behavior the test is meant to prove before interpreting the result.
Decide how both day-based values support the desired reauthentication policy. Use a controlled test plan for cookie expiration so that the evidence includes when authentication occurred and whether Remember Me was selected.
Give guest sessions an explicit inactivity policy
The glide.guest.session_timeout property controls unauthenticated session inactivity in minutes. New instances start with a value of five minutes. If the property is missing, its effective fallback is zero. A zero value disables the guest-specific override, causing guest sessions to use glide.ui.session_timeout.
This distinction matters during an inventory: “missing,” “zero,” and “five” describe different configurations. An absent guest property does not establish a five-minute timeout. Inspect the property and its fallback relationship before drawing conclusions from an idle guest browser.
- Find glide.guest.session_timeout and record its presence and value.
- For a separate guest idle limit, choose a value greater than zero and no higher than 30 minutes.
- Exercise the unauthenticated journey, leave it idle beyond the selected interval, and try to continue.
- Check whether losing session-scoped state interrupts the journey at an unacceptable point.
Guest sessions lose session-scoped state when they expire and need a new session to continue. Very small values can make anonymous journeys frustrating. Values above 30 minutes keep more sessions persisted and can raise availability concerns. Where retained sessions are a concern, five minutes is a candidate to evaluate against the guest experience.
Keep active-session exceptions tied to a defined need
The glide.active.session.timeout.exception.roles property contains a comma-separated list of roles exempt from active session timeout limits. Its default and recommended list is edge_encryption,mid_server,maint. These are exception-role entries, rather than a statement of permission to edit system properties.
Consider exceptions for internal integration account roles. A hijacked session associated with an exempt role can remain usable without the active-session limit forcing reauthentication. That makes membership in an exception role part of the access review, alongside the property value itself.
For each proposed addition, identify the account, the dependency, the reason an exception is needed, and the person responsible for reviewing it. Investigate automation that depends on a long-lived interactive UI session. Dedicated authentication, such as OAuth or a service account, avoids making browser-session longevity the basis of that automation.
When the investigation reaches the sign-in mechanism, continue with ServiceNow authentication methods. Keep the decision about an exception attached to the specific account dependency rather than applying it broadly to interactive users.
Validate the change before widening its scope
Build a test matrix covering authenticated idle work, active work, remembered login, guest access, and an account with a relevant exception role. For each case, capture the starting configuration, test conditions, expected result, observed result, and evidence needed to investigate a failure.
Change related controls in a sequence that preserves a clear explanation for each outcome. First establish the idle-session result, then assess remembered authentication and exceptions. If several settings change together, an unexpected sign-in prompt is harder to trace to its cause.
For help planning this work, see ServiceNow implementation.
Keep a rollback record containing the original values and whether each property existed before the change. Agree on acceptance criteria with the owners of affected journeys. Include a long-form user, an anonymous visitor, and an integration dependency where those patterns occur in the environment.
Remember Me controls and troubleshooting questions
Logging out of a remembered account
Will Remember Me sign me back in after I explicitly log out? Logging out deletes the remembered-login cookie. Returning after logout therefore differs from returning with that cookie still available. When checking a report of unexpected reauthentication, distinguish an explicit logout from simply leaving the instance and coming back later.
Remembered login that disappears between visits
What should I check when Remember Me does not persist? Inspect the browser’s cookie permissions and whether the visit used private or incognito mode. A private browsing session discards cookies when it ends, so that is a different test from returning in an ordinary browser session. Also check whether the configured maximum cookie lifetime has elapsed. These checks help distinguish browser-side cookie loss from an intended lifetime limit before changing either day-based property.
Changing the login checkbox default
Can I leave Remember Me available without selecting it by default? Yes. An admin can open All > System Properties > UI Properties and clear Default value of "Remember me" checkbox on login page, controlled by glide.ui.remember.me.default. Selecting that property sets the default back to Yes. This controls the initial selection; use the separate removal setting when the requirement is to disable remembered login.
Disabling remembered authentication
How do I remove Remember Me and invalidate existing cookies? Elevate to security_admin, open System Properties > UI Properties, and select Remove "Remember me" checkbox from login page, controlled by glide.ui.forgetme. The change both removes the checkbox and invalidates existing cookies, disabling the feature. Clearing the property restores the checkbox. Include users who already have remembered-login cookies in the change assessment, because this action affects existing remembered access as well as the choices shown at the next login.