title: how to store session data in file in expressjs?
body: <p>When user login, i am storing data in session like this :</p>
  
  <pre><code>   req.session.user = userData;
  </code></pre>
  
  <p>And it is working fine but when i restart in nodejs, the session is null. Then user need to login again.</p>
  
  <p>I want to create a file based storage for session.But after a lot of search, i got the way to store data in database but i dont want to store session data in database. I want to store data in file.</p>
  
  <p>Is there a nodejs module to store the session data in file? </p>