box-o-sand/rails/pennmaps/config/initializers/session_store.rb

16 lines
801 B
Ruby

# 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 = {
:key => '_pennmaps_session',
:secret => '2e8b1dabb12125afdebd00653c6bad5b77173775092c9a7322c157364d466e6bc2113945c54fd1052909b4cd5aef1e657060f75505f42d7761139dc7d8c91a1c'
}
# 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