Feature #540

Append suffix to cookie name

Added by Thomas Löber over 13 years ago. Updated over 5 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:


Category:Accounts / authentication
Target version:-


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

Related to Redmine - Feature #1763: Autologin-cookie should be configurable Closed 2008-08-11


#1 Updated by Thomas Löber over 13 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 over 10 years ago

  • Category set to Accounts / authentication

#3 Updated by Go MAEDA over 5 years ago

  • Status changed from New to Closed

A feature to configure autologin cookie name was implemented by #1763 (Redmine 1.2.0).

Also available in: Atom PDF