Ambition.Session
Description:
Content:
Interfaces:
- IStorable - Interface for any class
implementing a session store. To use, subclass Object and then Storable, and implement store, retrieve, and set_config. While using the
provided config is optional, the method is required to be implemented so other Storables can use it.
- AlmannaSession - Abstract session
to store Session data via an Almanna entity. Consumers of this abstract class need to have a table with a session_id integer field and a
session_data string field.
Classes:
- Interface - Represents session functionality
on top of a session storage engine.
- SessionPlugin - Provides Session support
to an Ambition application.
- StorableMemory - Implementation to
store sessions in memory in the dumbest way possible. This thing will keep growing and growing, and is designed as a basic example or to
test functionality without requiring an external dependency.
- StorableFile - Implementation to store
sessions on the filesystem. Not the fastest thing in the world, but probably the easiest. Stores sessions in the system temporary
directory by default, or reads "storable.file.path" from the application config.
- StorableAlmanna - Store sessions in an
Almanna-managed datastore.
- SessionDocument -
- StorableCouch - Store sessions in an
Couch datastore.