yesod/yesod-core/Yesod/Core/Class
patrick brisbin 21cd47cc98
Add envClientSessionBackend, ENV-based session key
This can be useful if:

1. You can't rely on a persistent file system (e.g. Heroku)
2. Your application is open source (e.g. you can't commit the key)

By keeping a consistent value in the environment variable, your users will
have consistent sessions without relying on the file system.

Usage:

    makeSessionBackend _ = fmap Just $ envClientSessionBackend 120 "SESSION_KEY"
2014-11-25 11:15:13 -05:00
..
Breadcrumbs.hs Incomplete change: GWidget/GHandler->WidgetT/HandlerT 2013-03-14 05:00:16 +02:00
Dispatch.hs Some cleanup 2013-03-14 10:23:57 +02:00
Handler.hs Clean up a bunch of warnings 2014-09-29 08:08:02 +03:00
Yesod.hs Add envClientSessionBackend, ENV-based session key 2014-11-25 11:15:13 -05:00