Hello,
I have an old, huge, awful 1.2.3 rails application. I can’t upgrade it
and I must integrate it with a new 2.3.2 rails app, by sharing sessions.
I’ve tried a lot of things, dirty things indeed, but that didn’t work.
Does anybody know a way to do this job?
Last thing I tried, unsuccessfully, was config 1.2.3 app this way:
ActionController::CgiRequest::DEFAULT_SESSION_OPTIONS.update(:session_key
=> ‘_something_here’)
ActionController::CgiRequest::DEFAULT_SESSION_OPTIONS.update(:session_id
=>
‘a0cd7a049e27f77c8ca73fd590552776e47de47e3c7a44638bd4ab8add7140c11edd892a4d9d019d643a068c88d1a30c72b544b453ccdd8774a17ac589112081c779f51834a567314b95a0cdda01fe977b16440b721f6fde71ce0130b70c5bf90d1066bdef4e5ec08dca457522b0b399cf4567603b377efb28f701fc78’)
And this in 2.3.2 app;
ActionController::Base.session = {
:key => ‘_something_here’,
:secret =>
‘a0cd7a049e27f77c8ca73fd590552776e47de47e3c7a44638bd4ab8add7140c11edd892a4d9d019d643a068c88d1a30c72b544b453ccdd8774a17ac589112081c779f51834a567314b95a0cdda01fe977b16440b721f6fde71ce0130b70c5bf90d1066bdef4e5ec08dca457522b0b399cf4567603b377efb28f701fc78’
}
Thanks in advance.
Marcia