开发者

rails: what is the most efficient way to store sessions?

开发者 https://www.devze.com 2023-01-07 12:19 出处:网络
I am implementing a dynamic application for 4 desktops in m开发者_开发百科y house so i don\'t think that security is big issue however i would like to know what is the most efficient wayto implement s

I am implementing a dynamic application for 4 desktops in m开发者_开发百科y house so i don't think that security is big issue however i would like to know what is the most efficient wayto implement sessions?cookies ?store it in the database or in the memory? thank you


For the use-case you describe I see no reason not to use the Rails' default of cookie-based session storage.


Security is no issue...then cookies should be the best.

0

精彩评论

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