Project

General

Profile

Redmine on Windows using “thin”: session gets shared between instances

Added by Dominik Appl over 11 years ago

I am trying to setup two redmine 2.0.3 instances using thin on windows 2008.

I am starting thin with

D:\redmine1>thin start -e production -p 3005 --prefix /redmine/instance1
D:\redmine2>thin start -e production -p 3006 --prefix /redmine/instance2

to start the instances. When I login into one instance I am automatically logged in with the same username into the other instance! The session in in the session cookie '_redmine_session' is the same (because the cookie points to '/'), but the databases are definitive different. I used different welcome pages.

Is this a thin problem oder redmine problem? The secret tokens in the configuration.yml are different.

See also

http://stackoverflow.com/questions/12213389/redmine-on-windows-using-thin-session-gets-shared-between-instances

Update: this is not a thin problem. It also happens with webrick. Can someone explain to me how the sessions handling works in redmine?


Replies (1)

RE: Redmine on Windows using “thin”: session gets shared between instances - Added by Dominik Appl over 11 years ago

Solved: secret.rb did not get regenerated via 'rake generate_secret_token'. Had to delete the file. There was so error message for this, so i opened a ticket #11866

    (1-1/1)