|
NAMECutelyst3Qt5Session - Configuration of the Session Plugin for the Cutelyst Web FrameworkDESCRIPTIONThe Session plugin for Cutelyst can be used to generate user sessions that are stored on the server side in a session store and on the user side in a session cookie. The name of the session cookie is the name of the application + "_session".CONFIGURATIONThe Session plugin can be configured in the Cutelyst application configuration file in the Cutelyst_Session_Plugin section.expires (integer value, default: 7200) Expiration duration of the cookie in seconds.
verify_address (boolean value, default: false) If enabled, the plugin will check if the IP address of
the requesting user matches the address stored in the session data. In case of
a mismatch, the session will be deleted.
verify_user_agent (boolean value, default: false) If true, the plugin will check if the user agent of the
requesting user matches the user agent stored in the session data. In case of
a mismatch, the session will be deleted.
cookie_http_only (boolean value, default: true) If true, the session cookie will have the httpOnly flag
set so that the cookie is not accessible to JavaScript's Document.cookie
API.
cookie_secure (boolean value, default: false) If true, the session cookie will have the secure flag set
so that the cookie is only sent to the server with an encrypted request over
the HTTPS protocol.
EXAMPLES[Cutelyst_Session_Plugin]
expires=1234
LOGGING CATEGORYcutelyst.plugin.sessionSEE ALSOCutelyst3Qt5MemcachedSessionStore(5)
Visit the GSP FreeBSD Man Page Interface. |