The snaplet-typed-sessions package
This package provides two Snaplets implementing typed sessions in the Snap web framework, as either memory-backed arbitrary types, or as client-side cookie-backed serializable types. Unlike the standard session snaplet, sessions can be of an arbitrary type appropriate to the application. Client-side session data is encrypted for security, and sessions have a configurable timeout (optional for the client-side back end).
In addition, a library is provided for a continuation-based programming model called Snap Dialogues. Dialogues allow natural specification of stateful interactions with the client that span multiple requests. Because the session type is not serializable, this requires the memory-backed session implementation.
Properties
| Version | 0.5 |
|---|---|
| Dependencies | base (4.*), bytestring (≥0.9.1 & <0.10), cereal (0.3.*), clientsession (0.7.*), containers (≥0.3 & <0.5), hashtables (1.0.*), mtl (≥2.0 & <2.2), PSQueue (≥1.0 & <1.2), random (1.0.*), regex-posix (≥0.94 & <0.96), snap (≥0.6 & <0.10), snap-core (≥0.6 & <0.10), time (≥1.1 & <1.5) |
| License | BSD3 |
| Author | Chris Smith <cdsmith@gmail.com> |
| Maintainer | Chris Smith <cdsmith@gmail.com> |
| Stability | Experimental |
| Category | Web |
| Upload date | Mon Aug 6 03:25:17 UTC 2012 |
| Uploaded by | ChrisSmith |
| Built on | ghc-7.4 |
Modules
Downloads
- snaplet-typed-sessions-0.5.tar.gz (Cabal source package)
- package description (included in the package)