プロジェクト

全般

プロフィール

Vote #63736

未完了

Add session_config option-stubs to environment-config

Admin Redmine さんが約2年前に追加. 約2年前に更新.

ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
Accounts / authentication_7
対象バージョン:
-
開始日:
2008/08/11
期日:
進捗率:

0%

予定工数:
category_id:
7
version_id:
0
issue_org_id:
1764
author_id:
1565
assigned_to_id:
0
comments:
2
status_id:
1
tracker_id:
3
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[New]

説明

This is a multi-branch (trunk and stable-0.7.3) patch which simply adds two session-related configuration-directive stubs to ./config/environment.rb.

The given stubs are for:

  • @session_key@
  • @session_path@

I created (and provide) this patch due to the fact that one of both directives is required to run multiple Redmine (or other apps which use the same session-names as Redmine) deployments on the same domain (though seperate installs under several different sub-URI's) without suffering from session-mangling.
Both directives aren't documented (sufficiently) imho at the Redmine website or the Redmine Code-base. That is the reason why I'd propose to add something like provided with this patch. If it is not taken into the project I would propose to add an entry to the Redmine FAQ about these issues. I am volunteering already... :-)

I already found some related issues and threads:

Both issues contain comments which faulty "documents" the session_key directive. This faultyness is due to the fact that rake will crash if the session_key directive is used in ./config/enviroment.rb as commented in both issues probably caused by the rake-scripts which aren't accepting Rails 2.1 syntaxis.
The mentioned forum-thread gives to correct syntaxis though it is mixed with another config-directive in some another case.

Beware: This patch only adds config-stubs which solves the session-mangling behaviour in the given environment. It does not fix any related problems with the so-called autologin-cookie. I created a sepereate specific issue for that (#1763).
See also #540 and partly #982 regarding the problems with the autologin-cookie.


journals

The main error @rake@ "gives" when it crashes due to the syntax-errors in the issues #540 & #1041 is:
> @uninitialized constant ActionController@
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

Admin Redmine さんが約2年前に更新

  • カテゴリAccounts / authentication_7 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0