Even though the whole process can work without any further intervention, framework allows you to fine tune session creation via <session> tag @ stdout.xml. Among its attributes most important for developers are:
If your project is not RESTful and it features authentication & authorization, setting auto_start attribute is required.
If your project will be load balanced on multiple web servers, setting handler attribute is required. Latter must point to a SessionHandlerInterface implementation and framework comes by default with:
CREATE TABLE sessions
(
id VARCHAR(50) NOT NULL,
value BLOB NOT NULL,
date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
expires INT UNSIGNED NOT NULL DEFAULT 0,
PRIMARY KEY(id),
KEY(expires)
) Engine=INNODB
Framework uses STDOUT MVC API to encapsulate all session operations via Lucinda\STDOUT\Session. Latter defines following methods relevant for developers: