Skip to content

Commit

Permalink
Oops, don't omit the session_key since it's used as the cookie name.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6199 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information
jeremy committed Feb 22, 2007
1 parent 5a1251d commit 223509b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion railties/environments/environment.rb
Expand Up @@ -43,7 +43,10 @@


# Your secret key for verifying cookie session data integrity. # Your secret key for verifying cookie session data integrity.
# If you change this key, all old sessions will become invalid! # If you change this key, all old sessions will become invalid!
config.action_controller.session = { :secret => '<%= CGI::Session.generate_unique_id(app_name) %>' } config.action_controller.session = {
:session_key => '_<%= app_name %>_session',
:secret => '<%= CGI::Session.generate_unique_id(app_name) %>'
}


# See Rails::Configuration for more options # See Rails::Configuration for more options
end end
Expand Down

0 comments on commit 223509b

Please sign in to comment.