Back

SessionStore (clj)

(source)

protocol

An interface to a session storage engine. Implementing this protocol allows Ring session data to be stored in different places. Session keys are exposed to end users via a cookie, and therefore must be unguessable. A random UUID is a good choice for a session key. Session stores should come with a mechanism for expiring old session data.

Examples