title: Session timeout is not working in JSF 2.0
body: <p>I am new to JSF 2.0 / PrimeFaces and I've created one webapp using JSF 2.0 + Spring 4. For session timeout, I've done below mapping in web.xml :</p>
  
  <pre><code>&lt;session-config&gt;
      &lt;session-timeout&gt;1&lt;/session-timeout&gt;
  &lt;/session-config&gt;
  
  &lt;error-page&gt;
      &lt;exception-type&gt;javax.faces.application.ViewExpiredException&lt;/exception-type&gt;
      &lt;location&gt;/resources/login/timeout.xhtml&lt;/location&gt;
  &lt;/error-page&gt;
  </code></pre>
  
  <p>After login, user redirects to admin.xhtml in which there element as</p>
  
  <pre><code>&lt;h:link value="showAnotherPage" outcome="other.xhtml"/&gt;
  </code></pre>
  
  <p>But after 2 or 5 minutes, when I click on the link, it redirects me to other.xhtml page not on timeout page.</p>
  
  <p>Is anything that I'm missing to configure? Please help.</p>