Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

expire session after 10 minutes

  • Loading branch information...
commit 249245aff6d1f11e5cdd745c409d46ef3f3cb8b2 1 parent e78fe6e
Travis Dunn authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  config/initializers/session_store.rb
2  config/initializers/session_store.rb
View
@@ -1,6 +1,6 @@
# Be sure to restart your server when you modify this file.
-Roswell::Application.config.session_store :cookie_store, key: '_roswell_session'
+Roswell::Application.config.session_store :cookie_store, key: '_roswell_session', :expire_after => 10.minutes
# Use the database for sessions instead of the cookie-based default,
# which shouldn't be used to store highly confidential information
Please sign in to comment.
Something went wrong with that request. Please try again.