mysnapsession: Sessions and continuations for Snap web apps
This package provides two Snap extensions, implementing
sessions as either memory-backed arbitrary types, or as
client-side cookie-backed serializable types. The latter
uses the clientsession
package to encrypt the cookie for
security. In both extensions, sessions are protected from
session stealing by checking the source IP address, and
have a configurable timeout (optional for the cookie-
backed back end). The session type is user-defined.
In addition, a library is provided for a continuation- based programming model called dialogues, which allows natural specification of stateful interactions with the client that span multiple requests. Because the session type is not serializable, this requires the memory-backed implementation.
Modules
[Index]
Downloads
- mysnapsession-0.4.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 0.1, 0.1.1, 0.1.2, 0.2, 0.3, 0.3.1, 0.4, 0.4.1 |
---|---|
Dependencies | base (>=4 && <5), bytestring (>=0.9.1 && <0.10), cereal (>=0.3 && <0.4), clientsession (>=0.4 && <0.5), containers (>=0.3 && <0.5), mtl (>=2.0 && <2.1), random (>=1.0 && <1.1), regex-posix (>=0.94 && <0.95), snap (>=0.4 && <0.6), snap-core (>=0.4 && <0.6), time (>=1.1 && <1.3) [details] |
License | BSD-3-Clause |
Author | Chris Smith <cdsmith@gmail.com> |
Maintainer | Chris Smith <cdsmith@gmail.com> |
Category | Web |
Uploaded | by ChrisSmith at 2011-10-09T22:20:19Z |
Distributions | |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Downloads | 5360 total (1 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs uploaded by user Build status unknown [no reports yet] |