yesod/yesod-core/Yesod
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
..
Core Add envClientSessionBackend, ENV-based session key 2014-11-25 11:15:13 -05:00
Routes Document Route typeclasses 2014-10-05 15:06:23 -07:00
Core.hs Add envClientSessionBackend, ENV-based session key 2014-11-25 11:15:13 -05:00