I’ve done this in 2.2, but cannot figure it out for 2.3.2:
Basically, I want to be able to share session data across a couple of
The way I did this in 2.2 was to create a view called sessions in the
second app that read the sessions table of the first app.
This done, I could tell them both to use active record sessions, and,
lo! I had a shared session.
Once I’d written a little routine to swap between apps (to basically
clean out the session apart from user ids), I could then happily swap
back and forth between them.
The trouble is, rails has moved on to 2.3.2, and I’m having the very
devil of a time getting something like this working again.
I’m using the same view-as-sessions-table technique, and I have both
apps sessions set to the same key and secret in the initializers/
directory, but it just isn’t working.
Can anyone offer any advice as to what I could try next?