Project

General

Profile

Patch #1764 ยป add_session_config_options_stubs-r1729.patch

Mischa The Evil, 2008-08-11 03:56

View differences:

branches/0.7-stable/config/environment.rb (working copy)
# config.action_controller.session_store = :active_record_store
config.action_controller.session_store = :PStore
## When multiple RoR-apps are running under one domain using different sub-rui's
## make sure you set either session_path (preferred) or session_key to prevent session-mangling
#
# Modify the following line to make the sessions path-specific instead of domain-specific
# config.action_controller.session = { :session_path => '/suburi' }
#
# Modify the following line to prefix the sessions with a application-specific key
# config.action_controller.session = { :session_key => 'redmine' }
##
# Enable page/fragment caching by setting a file-based store
# (remember to create the caching directory and make it readable to the application)
# config.action_controller.fragment_cache_store = :file_store, "#{RAILS_ROOT}/cache"
trunk/config/environment.rb (working copy)
# config.action_controller.session_store = :active_record_store
config.action_controller.session_store = :PStore
## When multiple RoR-apps are running under one domain using different sub-rui's
## make sure you set either session_path (preferred) or session_key to prevent session-mangling
#
# Modify the following line to make the sessions path-specific instead of domain-specific
# config.action_controller.session = { :session_path => '/suburi' }
#
# Modify the following line to prefix the sessions with a application-specific key
# config.action_controller.session = { :session_key => 'redmine' }
##
# Enable page/fragment caching by setting a file-based store
# (remember to create the caching directory and make it readable to the application)
# config.action_controller.fragment_cache_store = :file_store, "#{RAILS_ROOT}/cache"
    (1-1/1)