X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/6fdb49ee0dfc76980bcefb18968d1e1c55c8149c..108e13f9199648108e61f282a56f9ab4e7bc5dc6:/config/environment.rb diff --git a/config/environment.rb b/config/environment.rb index 571638d..80f19b4 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -87,6 +87,10 @@ class String end end +#Change the session store key, so that it will not conflict with other webapps +ActionController::Base.session_options[:session_key] = 'selectricity_session_id' +CGI::Session.expire_after 1.year + # action mailer configuration ActionMailer::Base.delivery_method = :sendmail ActionMailer::Base.default_charset = "utf-8"