Minimize absolute session timeout duration
Use the glide.ui.user_cookie.max_life_span_in_days property to set a maximum life span for user cookies created when users log in with the Remember Me checkbox selected. When the cookie expires, users who have selected the Remember Me checkbox are forced to reauthenticate into the instance.
If the glide.ui.user_cookie.max_life_span_in_days system property is not set to the recommended value of 30 or other appropriate value, then a very long life session could be more vulnerable to session hijack attacks.
Ensure that the property glide.ui.user_cookie.max_life_span_in_days is set to 30 or less.
Note: To enforce a maximum session time for any active user sessions, see Managing user sessions.
More information
|
Attribute |
Description |
|---|---|
|
Configuration name |
glide.ui.user_cookie.max_life_span_in_days |
|
Configuration type |
System Properties (/sys_properties_list.do) |
|
Data type |
Integer |
|
Recommended value |
30 or less |
|
Default value |
30 |
|
Fallback value |
30 |
|
Category | |
|
Security risk |
|
|
Functional impact |
This property enforces mandatory re-login by avoiding any sort of cookie rotation after a given time frame. |
|
Dependencies and prerequisites |
None |
--- title: Minimize absolute session timeout duration description: Use the glide.ui.user\_cookie.max\_life\_span\_in\_days property to set a maximum life span for user cookies created when users log in with the Remember Me checkbox selected. When the cookie expires, users who have selected the Remember Me checkbox are forced to reauthenticate into the instance. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/platform-security/instance-security-hardening-settings/sc-absolute-session-timeout.html release: australia product: Instance Security Hardening Settings classification: instance-security-hardening-settings topic_type: reference last_updated: "2026-09-10" reading_time_minutes: 1 breadcrumb: [Session management, Hardening settings, Platform Security] --- # Minimize absolute session timeout duration Use the **glide.ui.user\_cookie.max\_life\_span\_in\_days** property to set a maximum life span for user cookies created when users log in with the **Remember Me** checkbox selected. When the cookie expires, users who have selected the **Remember Me** checkbox are forced to reauthenticate into the instance. If the **glide.ui.user\_cookie.max\_life\_span\_in\_days** system property is not set to the recommended value of `30` or other appropriate value, then a very long life session could be more vulnerable to session hijack attacks. Ensure that the property **glide.ui.user\_cookie.max\_life\_span\_in\_days** is set to `30` or less. **Note:** To enforce a maximum session time for any active user sessions, see [Managing user sessions](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/platform-administration/c_ManageUserSessions.md). ## More information <table id="table_ajc_b43_3kb"><thead><tr><th> Attribute </th><th> Description </th></tr></thead><tbody><tr><td> Configuration name </td><td> **glide.ui.user\_cookie.max\_life\_span\_in\_days** </td></tr><tr><td> Configuration type </td><td> System Properties \(/sys\_properties\_list.do\) </td></tr><tr><td> Data type </td><td> Integer </td></tr><tr><td> Recommended value </td><td> 30 or less </td></tr><tr><td> Default value </td><td> 30 </td></tr><tr><td> Fallback value </td><td> 30 </td></tr><tr><td> Category </td><td> [Session management](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/platform-security/instance-security-hardening-settings/sc-session-management.md) </td></tr><tr><td> Security risk </td><td> - Severity score: 4.2 - CVSS rating: Medium - Security risk details: A long session lifespan extends the window of opportunity for attackers to hijack active sessions, increasing the likelihood of unauthorized access if credentials or session tokens are compromised. </td></tr><tr><td> Functional impact </td><td> This property enforces mandatory re-login by avoiding any sort of cookie rotation after a given time frame. </td></tr><tr><td> Dependencies and prerequisites </td><td> None </td></tr></tbody> </table>**Parent Topic:**[Session management](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/platform-security/instance-security-hardening-settings/sc-session-management.md)
| title | Minimize absolute session timeout duration |
| description | Use the glide.ui.user\_cookie.max\_life\_span\_in\_days property to set a maximum life span for user cookies created when users log in with the Remember Me checkbox selected. When the cookie expires, users who have selected the Remember Me checkbox are forced to reauthenticate into the instance. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/australia/platform-security/instance-security-hardening-settings/sc-absolute-session-timeout.html |
| release | australia |
| product | Instance Security Hardening Settings |
| classification | instance-security-hardening-settings |
| topic_type | reference |
| last_updated | 2026-09-10 |
| reading_time_minutes | 1 |
| breadcrumb | Session managementHardening settingsPlatform Security |