开发者

advantage of db session?

while I was installing Magento, I saw db storage option. There were 'file system' and 'db'开发者_运维技巧.

What is advantage of saving sessions in DB? I can't think of one.


In general, if your application uses multiple servers, but only a single database there's no need to synchronize your sessions between the servers if they are stored in the database. If the sessions are stored on the server (file system), your load balancer will have to guarantee that users are always directed to the same server during a session, or the sessions need to be replicated on all servers.

I'm not sure if it serves a different purpose in Magento.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜