简体   繁体   中英

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

I am implementing a dynamic application for 4 desktops in my 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

对于您描述的用例,我认为没有理由不使用Rails基于cookie的会话存储的默认设置。

安全性不是问题……那么cookie应该是最好的。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM