]> git.openstreetmap.org Git - rails.git/blob - config/initializers/session_store.rb
Highlight search results when the mouse is over them
[rails.git] / config / initializers / session_store.rb
1 # Be sure to restart your server when you modify this file.
2
3 if defined?(MEMCACHE_SERVERS)
4   OpenStreetMap::Application.config.session_store :mem_cache_store, :memcache_server => MEMCACHE_SERVERS, :namespace => "rails:session", :key => "_osm_session"
5 else
6   OpenStreetMap::Application.config.session_store :cache_store, :key => '_osm_session'
7 end