title: Is Http session timeout reset on ajax call?
body: <p>I have a Java Servlet app with session tracking mechanism using HTTPSessionListener. Front end script of my app periodically makes ajax calls to the server after 10 seconds. I have set session timeout to 1 minute.</p>
  
  <p>Session timeout doesn't seem to honor the ajax requests. The session gets destroyed after a minute. How can I prevent this?   </p>
  
  <p>I have set the timeout using:</p>
  
  <pre><code>&lt;session-config&gt;
          &lt;session-timeout&gt;1&lt;/session-timeout&gt;
  &lt;/session-config&gt;
  </code></pre>
  
  <p>When actually a session timeout occurs?</p>