Set explicit session store since Rails 2.0 default one (cookie) can not be used.
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@967 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
1 parent
d217ec2a47
commit
a053b5b772
1 file changed
+1
@@ -23,6 +23,7 @@ Rails::Initializer.run do |config|
|
|||||||
# Use the database for sessions instead of the file system
|
# Use the database for sessions instead of the file system
|
||||||
# (create the session table with 'rake create_sessions_table')
|
# (create the session table with 'rake create_sessions_table')
|
||||||
# config.action_controller.session_store = :active_record_store
|
# config.action_controller.session_store = :active_record_store
|
||||||
|
config.action_controller.session_store = :PStore
|
||||||
|
|
||||||
# Enable page/fragment caching by setting a file-based store
|
# Enable page/fragment caching by setting a file-based store
|
||||||
# (remember to create the caching directory and make it readable to the application)
|
# (remember to create the caching directory and make it readable to the application)
|
||||||
|
|||||||
Reference in new issue
Block a user