How to create sessions in Node.js
<p>In Node.js / MongoDB I want to create an easy session and give it to another page so I can know if a user is logged in or not. I want to know if he/she can access the page or not. How can I do this?</p>
<p>How do I set a session and how do I get the value to check if I have to redirect the user?</p>