Limit guest's active session life span

reference brazil Updated Sep 10, 2026 2 min read sc-limit-guests-active-session-life-span.md
Raw file servicenow.com

Use the glide.guest.active.session.life_span property to control the duration of an active guest's HTTP sessions.

The glide.guest.active.session.life_span property enforces a maximum lifespan on active guest HTTP sessions, regardless of the session activity. The configured value is in minutes. A value of zero disables the lifespan limit entirely, allowing sessions to persist indefinitely until the inactive timeout fires. Guest users are unauthenticated users who access the instance without logging in.

A larger maximum lifespan allows an attacker to persist a stolen session for longer, increasing the scope of a security incident.

Navigate to /sys_properties_list.do on the instance and verify that the glide.guest.active.session.life_span property exists and is set to a value greater than 0 and less than or equal to 720 minutes.

More information

Attribute

Description

Configuration name

glide.guest.active.session.life_span

Configuration type

System Properties (/sys_properties_list.do)

Data type

integer

Recommended value

720

Default value

0

Fallback value

0

Category

Session management

Security risk

  • Severity score: 4.2
  • CVSS score: Medium
  • Security risk details: A larger maximum lifespan allows an attacker to persist a stolen session for longer, increasing the scope of a security incident.

Functional impact

Guest HTTP sessions that exceed the configured lifespan are silently invalidated and reissued a new session ID. The guest user sees no error or logout screen, but any session-scoped state (for example, in-progress form data, embedded portal widget context, or session-based rate limiting) accumulated during that session is lost and starts fresh. Legitimate guest users on long-running but otherwise idle browser tabs require reloading the page after the configured interval elapses.

Dependencies and prerequisites

This control interacts with the glide.guest.session_timeout property, which controls the guest idle-session timeout duration. The platform requires the active session maximum lifespan to be greater than or equal to the idle timeout. If the active session lifespan is configured to a value lower than the idle-session timeout, the platform automatically increases the effective lifespan to match the idle-session timeout and logs a warning message.

**Parent Topic:**[Session management](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/platform-security/instance-security-hardening-settings/sc-session-management.md)
Search documentation
Search document titles and file paths on the brazil branch