title: Verification using express-mysql-session
body: <p>As I'm new to node programming, I have started to make a dummy web site and I want to implement session management using the existing library express-mysql-session.</p>
  
  <p>I went through the <a href="https://www.npmjs.com/package/express-mysql-session" rel="nofollow noreferrer"> documentation</a> of this package. I have followed the given steps for creating the session variables/ data entry into the tables. I am even able to get the data entered into the table. Though I am very confused about what should I do for the actual verification. I'm storing the user's email and id that I have imported from other 'users' table for login authentication, which is being stored in the data column of the session table.
  <a href="https://i.stack.imgur.com/l7Pju.png" rel="nofollow noreferrer">session table</a>.</p>
  
  <p>As in the documentation, it only shows how to store a session variable into the DB, not the verification step. What I'm thoroughly confused by is what parameter is to be exactly used for authentication/session. Is it the session_id column value that is to be used for it and if so, do I store this value in the global variable and access it each time from the table?</p>
  
  <p>I have been unable to find any examples for the same using this very package, so I don't have any context for the next step. If someone even has an example explaining this package, please can you share its source with me? </p>