Project

General

Profile

Actions

Feature #540

closed

Append suffix to cookie name

Added by Thomas Löber almost 17 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Accounts / authentication
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
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

Related to Redmine - Feature #1763: Autologin-cookie should be configurableClosed2008-08-11

Actions
Actions #1

Updated by Thomas Löber almost 17 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.

Actions #2

Updated by Toshi MARUYAMA over 13 years ago

  • Category set to Accounts / authentication
Actions #3

Updated by Go MAEDA almost 9 years ago

  • Status changed from New to Closed

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

Actions

Also available in: Atom PDF