2 # This file is part of SMR.
4 # SMR is free software: you can redistribute it and/or modify it under the
5 # terms of the GNU General Public License as published by the Free Software
6 # Foundation, either version 3 of the License, or (at your option) any later
9 # SMR is distributed in the hope that it will be useful, but WITHOUT ANY
10 # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 # A PARTICULAR PURPOSE. See the GNU General Public License for more details.
13 # You should have received a copy of the GNU General Public License along with
14 # SMR. If not, see <http://www.gnu.org/licenses/>.
16 # Be sure to restart your server when you modify this file.
18 Smr::Application.config.session_store :cookie_store, :key => '_smr_session'
20 # Use the database for sessions instead of the cookie-based default,
21 # which shouldn't be used to store highly confidential information
22 # (create the session table with "rails generate session_migration")
23 # Smr::Application.config.session_store :active_record_store