Name: mysnapsession
Version: 0.3
Synopsis: Sessions and continuations for Snap web apps
Description: 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.
License: BSD3
License-file: LICENSE
Author: Chris Smith <cdsmith@gmail.com>
Maintainer: Chris Smith <cdsmith@gmail.com>
Stability: Experimental
Category: Web
Build-type: Simple
Cabal-version: >=1.6
Library
Hs-source-dirs: src
Build-depends:
base == 4.*,
bytestring >= 0.9.1 && < 0.10,
mtl == 2.*,
snap == 0.3.*,
snap-core == 0.3.*,
time >= 1.1 && < 1.3,
random == 1.0.*,
containers >= 0.3 && < 0.5,
regex-posix == 0.94.*,
clientsession == 0.4.*,
cereal == 0.3.*
Exposed-modules: Snap.Extension.Session,
Snap.Extension.Session.Memory,
Snap.Extension.Session.Client,
Snap.SessionUtil,
Snap.Dialogues
Ghc-options: -Wall -fwarn-tabs -funbox-strict-fields
-fno-warn-orphans