title: sometime sails js session does not destroy
body: <p>I have create a web application using sails js. Following is logout function.</p>
  
  <pre><code>logout: function(req, res) {
        req.session.destroy(function(err) {
             res.redirect('/');
        });
  }
  </code></pre>
  
  <p>Sometime user does not logout from one click. But anyway user is redirecting to my home page. Then I have to click again logout button to logout the user.</p>