2008-11-30 16:54:44 -05:00
|
|
|
# Be sure to restart your server when you modify this file.
|
|
|
|
|
2008-11-30 16:53:21 -05:00
|
|
|
# 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 = {
|
2009-01-13 15:27:23 -05:00
|
|
|
:key => '_<%= app_name %>_session',
|
2008-11-30 16:53:21 -05:00
|
|
|
:secret => '<%= app_secret %>'
|
|
|
|
}
|
|
|
|
|
|
|
|
# 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
|