> ## Documentation Index
> Fetch the complete documentation index at: https://docs.joinmassive.com/llms.txt
> Use this file to discover all available pages before exploring further.

# What are sticky sessions and how do they work?

Sticky sessions (session persistence) maintain the same proxy IP for multiple requests.

**Key Features:**

1. Duration:
   * Default TTL: 15 minutes
   * Maximum TTL: 240 minutes (4 hours)
   * Customizable via `sessionttl` parameter
   * Static TTL: expires at creation time + TTL, not extended by activity

2. Session Modes:
   * **Strict Mode** (Default): Any error immediately rotates to a new node
   * **Flex Mode**: Tolerates up to N consecutive errors before rotating (default 15, customizable via `sessionerr`)
   * **No-Rotate Mode**: Never rotates on errors; returns 502/503 instead

For more details, refer to the [sticky sessions documentation](/residential/sticky-sessions).
