Append suffix to cookie name
If I run two Redmine instances on the same server (connecting to different databases and using two TCP ports),
the "_session_id" and "autologin" cookies don't work correctly because they are shared between the
two Redmine instances.
If there was a configuration option (stored in the database) which defines a suffix that is appended to the cookie name,
different Redmine instances may have different cookie names. So the cookies won't get in each other's way.
Updated by Thomas Löber over 15 years ago
I found out that I can define the name of the session ID cookie by setting
ActionController::Base.session_options[:session_key] in config/environments/production.rb.
Unfortunately this has no effect on the "autologin" cookie.
Updated by Toshi MARUYAMA about 12 years ago
- Category set to Accounts / authentication
Updated by Go MAEDA over 7 years ago
- Status changed from New to Closed
A feature to configure autologin cookie name was implemented by #1763 (Redmine 1.2.0).