The ModularSessionFileApp class is intended for use in applications which define page code in a collection of Python modules. Session state is stored in the file system at the server.
The ModularSessionFileApp class defines the following methods:
The base_url argument is used as the base for URLs produced by the <al-a> and <al-form> tags. The module_path argument defines the root directory where page modules are loaded from. The template_path argument defines the root directory where template files are loaded from. The start_page identifies the first page that will be served up in a new browser session. The secret argument is used to MD5 sign all pickles sent to the browser.
The session_appid argument identifies the session application in the browser cookie. Multiple applications can share sessions by using the same identifier here. The session_dir argument defines the directory in which the application will store session files.