X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/d6d44b7c8dc1d8ea3e425116caadca43c9412fed..d9eb811be03c5354431b652c166815b3d4af4d6a:/config/environment.rb?ds=inline 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"