开发者

How do I setup a shared session between two users on my Ruby on Rails powered site?

The website that I'm building includes a section where two users can interact. I think I know how to do most of it, except the actual session sharing part. I'm using Ruby on Rails & Javascript (jquery), and I've got user login and session management all working okay. Would the best way to create a shared session be to have a Sh开发者_开发百科aredSession model, with accompanying database table, with participant1ID, participant2ID etc? Is there a better way? Thanks so much for reading!


Creating a model for shared session is good enough.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜