Skip to main content

default_session_ttl

Function default_session_ttl 

Source
pub const fn default_session_ttl() -> Duration
Expand description

How long stored viewer state outlives its last use.

It matches the session cookie’s own lifetime: state keyed to an identity that can no longer authenticate has nothing left to belong to.