title: How to set session max inactive time?
body: <p>I get the session MaxInactiveInterval time using the following query. I am developing web application using JSF Framework</p>
  
  <pre><code>var sessionMaxInactiveTime = ${pageContext.session.maxInactiveInterval};
  </code></pre>
  
  <p>I need to set <strong>maxInactiveInterval</strong>.<br>
  how to set maxInactiveInterval using JavaScript, JQuery, or to write Servlet.<br>
  But i want to control to  main template jsp Page.</p>
  
  <p>Is available any links, notes or samples?</p>
  
  <p>Help me.
  Thanks in advance.</p>