foodsoft/config/initializers/session_store.rb.SAMPLE

16 lines
754 B
Text
Raw Normal View History

# 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 => '_foodsoft_session',
:secret => 'as27ashi20867asdl27a9l2oa87dgh2o6a6s92l34las00121hha87072hla70072h097243hha092h4a'
}
# 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