Diff "glide.ui.user_cookie.life_span_in_days" e "glide.ui.user_cookie.max_life_span_in_days"?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2023 12:09 PM
What is the real difference between the system properties: "glide.ui.user_cookie.life_span_in_days" and "glide.ui.user_cookie.max_life_span_in_days"?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2023 12:29 PM
Hello @Vinicius5,
The system properties “glide.ui.user_cookie.life_span_in_days” and “glide.ui.user_cookie.max_life_span_in_days” are related to the user interface (UI) cookies that are used by ServiceNow to store user preferences and settings in the browser. These cookies help to improve the user experience and performance of the ServiceNow platform.
The difference between these two properties is as follows:
- “glide.ui.user_cookie.life_span_in_days” defines the normal life span of the UI cookies in days. This means that the UI cookies will expire after the specified number of days since they were last updated. The default value of this property is 30 days. You can change this value to suit your needs, but it is recommended to keep it between 1 and 365 days.
- “glide.ui.user_cookie.max_life_span_in_days” defines the maximum life span of the UI cookies in days. This means that the UI cookies will expire after the specified number of days since they were first created, regardless of when they were last updated. The default value of this property is 365 days. You can change this value to suit your needs, but it is recommended to keep it between 1 and 3650 days.
For example, if you set “glide.ui.user_cookie.life_span_in_days” to 10 days and “glide.ui.user_cookie.max_life_span_in_days” to 100 days, then the UI cookies will expire in either of these two scenarios:
- The UI cookies have not been updated for 10 days.
- The UI cookies have been created for 100 days.
Hope this helps.
Kind Regards,
Swarnadeep Nandy