Permalink
Browse files

set a 1 hour expiration on the http session

  • Loading branch information...
Dmitri Dolguikh authored and witlessbird committed Mar 11, 2013
1 parent af069d6 commit d1abcb5206dec442cbf071d5aa1274f9dd99a8e9
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/config/initializers/session_store.rb
@@ -1,6 +1,6 @@
# Be sure to restart your server when you modify this file.
-Src::Application.config.session_store :cookie_store, :key => '_src_session'
+Src::Application.config.session_store :cookie_store, :key => '_src_session', :expire_after => 1.hour
# Use the database for sessions instead of the cookie-based default,
# which shouldn't be used to store highly confidential information

0 comments on commit d1abcb5

Please sign in to comment.