1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
|
# 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 => '_test_session',
:secret => '32c98cd59b34f85a8e53eeae63eb31f8f3af44710f00998f4e16e24f580090c9b88f3e2552e9f7e913cfb94521e57f76d038f1c936872189ffb68361f1b677c2'
}
# 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
|