root/config/initializers/session_store.rb @ ec3dc179
05f13042 | Marc Dequènes (Duck) | # 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 => '_jmb_session',
|
|||
:secret => 'c80b03ca37da9987a2f109b9d2eda82cd249bb36be4a0c4ae198f7744027b6f874f1809471f998f7b3108e50b979fa795adc6fab857c47f89287eae1a77b74ec'
|
|||
}
|
|||
# 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
|