Marten::Conf::GlobalSettings::Sessions
Allows to configure sessions-related settings.
Instance methods
Allows to set the domain to use when setting the session cookie.
Returns a boolean indicating whether client-side scripts should have access to the session cookie.
Allows to set whether client-side scripts should have access to the session cookie.
Returns a boolean indicating whether client-side scripts should have access to the session cookie.
Returns the max age (in seconds) of the session cookie.
By default, the session cookie max age is set to 1209600 (two weeks).
Allows to set the max age (in seconds) of the session cookie.
Allows to set the name of the cookie to use for sessions.
Returns the value of the SameSite flag to use for the session cookie (defaults to "Lax").
Allows to set the value of the SameSite flag to use for the session cookie.
Returns a boolean indicating whether to use a secure cookie for the session cookie.
Allows to set whether secure cookies should be used for session cookies.
Returns a boolean indicating whether to use a secure cookie for the session cookie.