Package Info


Flexible session middleware for WAI


Provides a generic, cookie-based middleware for sessions that is parameterised over the session store, the cookie name, and the cookie parameters (such as path, expiry, etc). Passes a pair of functions (lookup key, set key) for the current session through the 'Vault' in the 'Request'.

Also provides a simple example session store based on threadsafe 'IORef's and 'Data.Map'.

See example/Main.hs in git for example usage.

License: MIT



Package Version Update ID Released Package Hub Version Platforms Subpackages
0.3.2-bp150.2.3 info GA Release 2018-08-01 15
  • AArch64
  • ghc-wai-session
  • ghc-wai-session-devel
0.3.2-bp150.2.6 info GA Release 2018-07-31 15
  • ppc64le
  • ghc-wai-session
  • ghc-wai-session-devel
0.3.2-bp150.2.7 info GA Release 2018-07-30 15
  • x86-64
  • ghc-wai-session
  • ghc-wai-session-devel