title: Persisting login states with passport.js, mysql, and express-session
body: <p>I have an app that uses Passport.js to authenticate users through facebook, and can do so successfully. However, whenever my node.js server is reset, the user is logged out.</p>
  
  <p>It seems like express-sessions is the way to go to persist login states, but every answer I've read seems to say you must use mongodb or redis to achieve this. We are using Mysql.</p>
  
  <p>Is there a way to use express-sessions with mysql to persist login states?</p>