Base class for all backends. Methods that raise a NotImplementedError exception are required to be overriden by children, while functions that pass are optional.
Removes a specific stored session from the history.
This should return the number of rows removed (0 or 1).
Raises a NotImplementedError exception.
Removes all stored sessions from the history.
This should return the number of rows removed.
Raises a NotImplementedError exception.
Removes a list of stored sessions from the history.
This should return the number of rows removed.
Raises a NotImplementedError exception.
Returns the data associated with session_uuid. Should return None if no session can be found with the specified uuid.
Raises a NotImplementedError exception.
Stores entire session as a pickled object. This can be extremely slow when using even smaller sets of sessions–on the order of 30mb, or around 200 requests.