I am building a simple Node.js based website. I would like to track users who have not initiated a session in a particular time span. I am using passport to create session and if a cookie is set I automatically log them in.
What is the best way to implement this?