Open CasperHK opened 8 years ago
@CasperHK When mysql is shutdown, this store does not work. For the first question, as all the data is stored in mysql, if all the web servers have access to the sessions database, it is possible for the other web server also to get the cookie data.
I want to use multiple servers to serve one website. If the user login in one server, I expect he also login in other server and have right to access his own session data. Is
srinathgs/mysqlstore
a good choice and stable enough for doing this? When the MySQL server is shut down, will all session data get destroyed?Actually, I have 12 ubuntu servers under the same domain. Some of them will be used as web servers and one will be used as a MySQL database server. Therefore, I want to implement a MySQL-based session service to allow session data synchronized in all web servers.