~michaelforrest/use-case-mapper/trunk

« back to all changes in this revision

Viewing changes to vendor/rails/railties/configs/initializers/session_store.rb

  • Committer: Richard Lee (Canonical)
  • Date: 2010-10-15 15:17:58 UTC
  • mfrom: (190.1.3 use-case-mapper)
  • Revision ID: richard.lee@canonical.com-20101015151758-wcvmfxrexsongf9d
Merge

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Be sure to restart your server when you modify this file.
2
 
 
3
 
# Your secret key for verifying cookie session data integrity.
4
 
# If you change this key, all old sessions will become invalid!
5
 
# Make sure the secret is at least 30 characters and all random, 
6
 
# no regular words or you'll be exposed to dictionary attacks.
7
 
ActionController::Base.session = {
8
 
  :key         => '_<%= app_name %>_session',
9
 
  :secret      => '<%= app_secret %>'
10
 
}
11
 
 
12
 
# Use the database for sessions instead of the cookie-based default,
13
 
# which shouldn't be used to store highly confidential information
14
 
# (create the session table with "rake db:sessions:create")
15
 
# ActionController::Base.session_store = :active_record_store