We support session persistence (AKA sticky sessions) with a customizable TTL, defaulting to 15 minutes.
Key | Value | TTL | Examples |
---|---|---|---|
session | Any unique identifier of up to 255 characters (regardless of character encoding); Massive will make best efforts to route requests in the same session to the same egress node | Default: 15 minutes (customizable with `sessionttl`) | session42, 1234 |
sessionttl | Customizable session TTL in minutes, up to 60 minutes | Default: 15 minutes | 30, 60 |
sessionttl
parameter. For example, to set the TTL to 30 minutes:Key | Value |
---|---|
sessionmode | strict , flex |
sessionmode-flex
.
Example of using undefined sessionmode
, which defaults to sessionmode-strict
:
sessionmode-strict
explicitly defined:
sessionmode-flex
, though this may increase error rate.
sessionmode-flex
: