Project

General

Profile

Actions

Feature #2628

closed

Set session store to cookie store by default

Added by micah anderson about 15 years ago. Updated about 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
2009-01-30
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed

Description

It was said that in .7 that session store would be set to 'cookie store' by default over in this forum post: http://www.redmine.org/boards/2/topics/show/150

However, the .8 version still has this set in environment.rb:

  # Use the database for sessions instead of the file system
  # (create the session table with 'rake db:sessions:create')
  # config.action_controller.session_store = :active_record_store
  config.action_controller.session_store = :PStore

I'm getting tens of thousands of sessions in my temporary directory daily. I clean them out with tmpreaper, but it seems better to stick them in the cookie store instead.

perhaps there is a reason why this hasn't been set?


Related issues

Has duplicate Redmine - Defect #3441: Too many session filesClosed2009-06-03

Actions
Actions

Also available in: Atom PDF