Skip to content

Commit

Permalink
Added a 30 minute limit on sessions
Browse files Browse the repository at this point in the history
  • Loading branch information
cykod committed Mar 17, 2010
1 parent 15c41f8 commit 31b6522
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions config/environment.rb
Expand Up @@ -178,8 +178,9 @@ def self.connection



CACHE.servers = [ 'localhost:11211' ]
ActionController::Base.session_options[:cache] = CACHE
CACHE.servers = [ 'localhost:11211' ]
ActionController::Base.session_options[:expires] = 1800
ActionController::Base.session_options[:cache] = CACHE



Expand Down

0 comments on commit 31b6522

Please sign in to comment.