watson.http.sessions.file

class watson.http.sessions.file.Storage(id=None, timeout=None, autosave=True, storage=None)[source]

A file based storage adapter for session data.

By default it will store data in the systems temp directory, however this can be overriden in the __init__.

__init__(id=None, timeout=None, autosave=True, storage=None)[source]

Initialize the File Storage object.

Parameters:storage – where the files should be stored