yesod/yesod-core/Yesod/Core
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
..
Class Add envClientSessionBackend, ENV-based session key 2014-11-25 11:15:13 -05:00
Internal Support time 1.5 2014-11-25 07:18:11 +02:00
Content.hs Clean up a bunch of warnings 2014-09-29 08:08:02 +03:00
Dispatch.hs More efficient token generation 2014-10-20 10:34:38 +03:00
Handler.hs neverExpires sets 'Expires' header to be a year from now. 2014-11-21 17:40:32 +00:00
Internal.hs Moved code around some more 2013-03-12 05:49:24 +02:00
Json.hs Clean up a bunch of warnings 2014-09-29 08:08:02 +03:00
TypeCache.hs document cache key 2014-10-02 09:11:23 -07:00
Types.hs neverExpires sets 'Expires' header to be a year from now. 2014-11-21 17:40:32 +00:00
Widget.hs ToWidget instances for Css, JS 2014-04-23 16:31:13 +03:00