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.


Properties

Versions0.1, 0.1.1, 0.2
Dependenciesbase (==4.*), blaze-builder, bytestring, containers, cookie, http-types, StateVar, time, transformers, vault, wai (>=1.1.0)
LicenseOtherLicense
Copyright© 2012 Stephen Paul Weber
AuthorStephen Paul Weber <singpolyma@singpolyma.net>
MaintainerStephen Paul Weber <singpolyma@singpolyma.net>
Stabilityexperimental
CategoryWeb
Home pagehttps://github.com/singpolyma/wai-session
Bug trackerhttps://github.com/singpolyma/wai-session/issues
Source repositoryhead: git clone git://github.com/singpolyma/wai-session.git
UploadedFri Sep 7 23:08:53 UTC 2012 by StephenWeber
Downloads387 total (23 in last 30 days)
StatusDocs uploaded by user [build log]
All reported builds failed [all 1 reports]

Modules

[Index]

Downloads

Maintainers' corner

For package maintainers and hackage trustees