title: Java SessionDestroyed not called when session is inactive
body: <p>For testing purpose, I have made following entry in web.xml    </p>
  
  <pre><code>&lt;session-config&gt;
          &lt;session-timeout&gt;1&lt;/session-timeout&gt;
  &lt;/session-config&gt;
  </code></pre>
  
  <p>Now, The problem is that user is getting logged out after 1 minute of In-activity but The sessionDestroyed method of my Session Listener is not being called. How ever when I am logging out manually, every thing is working fine.</p>
  
  <p>Is there any way that this can be handled?</p>
  
  <p>Using Tomcat 8</p>
  
  <p>Thanks in advance for Help.</p>