title: How to handle Redis session when db disconnects
body: <p>I am having issues with losing my Redis connection that I use for sessions in my Express App:</p>
  
  <pre><code>var RedisStore = require('connect-redis')(express);
  sessionStore = new RedisStore(config.db.redis.connection);
  sessionStore.client.on('error', function(err){
    console.log("Redis error " + err);
  });
  
  app.use(express.session({
    secret: config.secret,
    maxAge: new Date(Date.now() + 3600000),
    store: sessionStore
  }));
  </code></pre>
  
  <p>When it goes down so does the site due to sessions no longer being available.  I am thinking of doing a fallback to memoryStore or a secondary db but would like to use that fallback just until I can reconnect again (I am not overly concerned too much with sessions being lost - just don't want the site to go boom). </p>
  
  <p>How can I do this? An existing plugin would be grand but have not found anything so far.</p>