box-o-sand/rails/map-mash/config/initializers/session_store.rb

16 lines
801 B
Ruby
Raw Normal View History

2012-03-04 13:05:48 +00:00
# Be sure to restart your server when you modify this file.
# Your secret key for verifying cookie session data integrity.
# If you change this key, all old sessions will become invalid!
# Make sure the secret is at least 30 characters and all random,
# no regular words or you'll be exposed to dictionary attacks.
ActionController::Base.session = {
2012-03-04 13:14:25 +00:00
:key => '_map_mash_session',
2012-03-04 13:05:48 +00:00
:secret => '28f75daa5d26dcf4393a379bca87589d42118d8796f9c32fd5a183e879765c0ba458f1e9803caf5f183ed68d1a107de6f06871353a49bc1e29a758f7ada4c324'
}
# Use the database for sessions instead of the cookie-based default,
# which shouldn't be used to store highly confidential information
# (create the session table with "rake db:sessions:create")
# ActionController::Base.session_store = :active_record_store