Feature #540
Append suffix to cookie name
| Status: | New | Start date: | ||
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 0% | |
| Category: | Accounts / authentication | |||
| Target version: | - | |||
| Resolution: |
Description
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.
The idea:
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.
Related issues
History
#1 Updated by Thomas Löber over 5 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.
#2 Updated by Toshi MARUYAMA about 2 years ago
- Category set to Accounts / authentication