The snaplet-typed-sessions package

[ Tags: 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 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 BSD3
Author Chris Smith <>
Maintainer Chris Smith <>
Category Web
Uploaded Mon Aug 6 03:25:17 UTC 2012 by ChrisSmith
Distributions NixOS:0.5
Downloads 471 total (5 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI




Maintainer's Corner

For package maintainers and hackage trustees