On 27 Feb 2009, at 14:24, Adam wrote:
> > I'm working on an application that can be accessed from multiple > domains. I want to maintain session data across these domains, such > that if a user logs in at www.domain1.com, then moves to www.domain2.com > , > they will still be logged in with the same account. Is this possible > in Rails? Could anyone point me towards a guide of how to achieve it? > Well you will definitely need to move away from the cookie store. I imagine you could do something like redirect users with no session to blah.domain.com - this creates/looks up their session id. Then it redirects them back to the original domain along with a token telling that app what the session id of the user should be (so that this app can set the cookie saying what the session id is) Fred > Many thanks, > Adam > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---