Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Cutelyst2Qt5Session(5)	      File Formats Manual	Cutelyst2Qt5Session(5)

NAME
       Cutelyst2Qt5Session  -  Configuration  of  the  Session	Plugin for the
       Cutelyst	Web Framework

DESCRIPTION
       The 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".

CONFIGURATION
       The  Session  plugin can	be configured in the Cutelyst application con-
       figuration 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 request-
	   ing 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	CATEGORY
       cutelyst.plugin.session

SEE ALSO
       Cutelyst2Qt5MemcachedSessionStore(5)

Cutelyst2Qt5Session 2.11.0	  2018-01-11		Cutelyst2Qt5Session(5)

NAME | DESCRIPTION | CONFIGURATION | EXAMPLES | LOGGING CATEGORY | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Cutelyst2Qt5Session&sektion=5&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help