The wai-session package

[Tags: library]

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 IORefs and Data.Map.

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


Versions0.1, 0.1.1, 0.2, 0.3, 0.3.1
Change logNone available
Dependenciesbase (==4.*), blaze-builder, bytestring, containers, cookie, http-types, StateVar, time, transformers, vault, wai (>=1.1.0)
Copyright© 2012 Stephen Paul Weber
AuthorStephen Paul Weber <>
MaintainerStephen Paul Weber <>
Home page
Bug tracker
Source repositoryhead: git clone git://
UploadedFri Sep 7 23:08:53 UTC 2012 by StephenWeber
Downloads738 total (50 in last 30 days)
StatusDocs uploaded by user [build log]
All reported builds failed [all 1 reports]




Maintainers' corner

For package maintainers and hackage trustees