diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2006-03-04 22:31:50 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2006-03-04 22:31:50 +0000 |
commit | 56b75a7e04dcd8ed05e2aae4e51441ef38af395b (patch) | |
tree | a323a2d62f806d32c3b6414dd68dc75f91782822 /actionpack | |
parent | fc7e06f3e0e661a17ef44d599e35c163afddba00 (diff) | |
download | rails-56b75a7e04dcd8ed05e2aae4e51441ef38af395b.tar.gz rails-56b75a7e04dcd8ed05e2aae4e51441ef38af395b.tar.bz2 rails-56b75a7e04dcd8ed05e2aae4e51441ef38af395b.zip |
CHANGED DEFAILT: File-based sessions now have a suffix of ".rails_session" instead of a prefix called "ruby_sess." [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3766 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/CHANGELOG | 2 | ||||
-rw-r--r-- | actionpack/lib/action_controller/cgi_process.rb | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/actionpack/CHANGELOG b/actionpack/CHANGELOG index 49fd59c72e..7d4978f751 100644 --- a/actionpack/CHANGELOG +++ b/actionpack/CHANGELOG @@ -1,5 +1,7 @@ *SVN* +* CHANGED DEFAILT: File-based sessions now have a suffix of ".rails_session" instead of a prefix called "ruby_sess." [DHH] + * Fixed Effect.Appear in effects.js to work with floats in Safari #3524, #3813, #3044 [Thomas Fuchs] * Fixed that default image extension was not appended when using a full URL with AssetTagHelper#image_tag #4032, #3728 [rubyonrails@beautifulpixel.com] diff --git a/actionpack/lib/action_controller/cgi_process.rb b/actionpack/lib/action_controller/cgi_process.rb index b22921ce8b..f30481ee8a 100644 --- a/actionpack/lib/action_controller/cgi_process.rb +++ b/actionpack/lib/action_controller/cgi_process.rb @@ -36,8 +36,8 @@ module ActionController #:nodoc: DEFAULT_SESSION_OPTIONS = { :database_manager => CGI::Session::PStore, - :prefix => "ruby_sess.", - :session_path => "/" + :suffix => ".rails_session", + :session_path => "/" } unless const_defined?(:DEFAULT_SESSION_OPTIONS) def initialize(cgi, session_options = {}) |