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.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.