snaplet-typed-sessions: Typed session snaplets and continuation-based programming for the Snap web framework

[ bsd3, library, web ] [ Propose Tags ]

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.

Versions [faq] 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) [details]
License BSD-3-Clause
Author Chris Smith <>
Maintainer Chris Smith <>
Category Web
Uploaded by ChrisSmith at 2012-08-06T03:25:17Z
Distributions NixOS:0.5
Downloads 882 total (2 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs uploaded by user
Build status unknown [no reports yet]




Maintainer's Corner

For package maintainers and hackage trustees