The web.session module provides three different objects to help users manage sessions. These are:
DriverManager and Store objects. For example the DatabaseSessionDriver object is used to create a session store in SQL databases.
ManagerStore objects.
StoreTo begin using the session store for your application you must perform the following steps:
Driver
Driver chosen
Manager object and load an existing session or create a new session
Store object
The web.session module provides web.session.driver() and web.session.manager() functions which you can use to more easily create the correct Driver object and Manager objects respectively.
If you are feeling extremely lazy you can simply use the web.session.start() function to handle everything for you and return a Store object for your application. Alternatively you can use the web.wsgi.session module to handle everything for you if you are using a WSGI application.
If you simply want to get started using the module quickly there is an example later on in the documentation demonstrating some important features and a full API reference.