session_store.rb 550 B

123456789101112
  1. # Be sure to restart your server when you modify this file.
  2. AdminFohowCom::Application.config.session_store :cookie_store, key: 'admin_fohow_com_sid'
  3. # Use the database for sessions instead of the cookie-based default,
  4. # which shouldn't be used to store highly confidential information
  5. # (create the session table with "rails generate session_migration")
  6. # AdminFohowCom::Application.config.session_store :active_record_store
  7. #AdminFohowCom::Application.config.session_store :cookie_store, key: 'admin_fohow_com_sid', :expire_after => 30.minutes