Sorry for the english, this is translated from google.
Good day to you all users, my question is regarding performance, I tell them, for reasons of improved security of a web application I decided to handle all sessions php mysql with a handler class for the sessions, so that all changes sessions are stored in a table, so I keep the session data is stored in these files that are created when using sessions, so I avoid that somehow a user from accessing it on a shared server, the session data they are on a table in mysql.
I feel that this slightly improves application security. (correct me if I'm wrong)
The detail is so much increased queries to the database because in these sessions also apply a number of methods to protect theft in as tokens, time to expiration and other checks, so every user movement is execute multiple queries, and I feel that on a shared server that is not very good .. you tell me? Should I use sessions in mysql? it is clear that what I want to achieve is maximum protection of application data.