Mnemonix v0.7.1 Plug.Session.MNEMONIX
Stores the session in a Mnemonix.Store.Server
.
This store does not create the Mnemonix store; it expects that a reference to an existing store server is passed in as an argument.
We recommend carefully choosing the store type for production usage. Consider: persistence, cleanup, and cross-node availability.
Options
:store
-Mnemonix.store/0
reference (required)
Examples
# Start a named store when the application starts
Mnemonix.Stores.Map.start_link(server: [name: My.Plug.Session])
# Use the session plug with the table name
plug Plug.Session, store: :mnemonix, key: "sid", store: My.Plug.Session
Summary
Functions
Callback implementation for Plug.Session.Store.delete/3
Callback implementation for Plug.Session.Store.get/3
Callback implementation for Plug.Session.Store.init/1
Callback implementation for Plug.Session.Store.put/4
Functions
Callback implementation for Plug.Session.Store.delete/3
.
Callback implementation for Plug.Session.Store.get/3
.
Callback implementation for Plug.Session.Store.init/1
.
Callback implementation for Plug.Session.Store.put/4
.