Hi,

I have two apps, one in Rails, and one in Merb. Both use cookie based
session store, and are in the same domain. I set the session key and
secret to be exactly the same in both apps, but they don't seem to get
the session data of each other.

When I try to print the cookies in each of them, I see that in the
cookies hash the value to the session key are different, for example:

one can be:

{"_portal_session"=>"BAh7CDDOh5IYXNoV2l0aEluZGNjZXNzewgiC2FjdGlvbiIJc2hvdyIHaWQiEGZvb2JhcmNsb3duIg9jb250cm9sbGVyIgp1c2VyczoQX2NzcmoNbG9jYXRpb25ZfdG9rZW4iMVRTeDVtNnZ0bXJIUHFxd3ZzZG4vc1V0VGRJTGFYMEIxTGhieTBlmZmVyZW50QWDMjRQV1U9Og9zZXNzaW9uX2lkIiUxYTc2OWY0OWQ5OWFmNDJmYTRlMTkxNzRjYjNhNzgxYQ==--5bddbee8dffa3a496426dba8e77cd46279d75726",
"_chartbeat"=>"ev0903n9acks6ac4", "logged-in-username"=>""}

while the other have the same key "_portal_session" with a completely
different value.

And I suspect this is the cause for not being able to share session
between the two. Is there a way to solve this problem?

Thanks.

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to