First guess is to remove anything prefixed with session_ in your session_options. E.g. session_options[:session_key] is now session_options[:key]
On 13 May 2009, at 17:57, doug livesey wrote: > Hi -- I've asked & resolved this before, but now I'm stuck again > after a Rails update. > Basically, I want to be able to share session data across a couple > of apps. > 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? > Cheers, > Doug. > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "NWRUG" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nwrug-members?hl=en -~----------~----~----~----~------~----~------~--~---
