title: How to keep alive a user's session while they are posting on a forum?
body: <p>I have a site with a session timeout of 15 minutes. On some pages a user occasionally spends longer than 15 minutes filling in a reply. What is the best solution to keep alive the session in this case?</p>
  
  <p>I already use <code>JQuery</code> on these pages, so possibly pinging a server, but on what events?</p>
  
  <p>The backend is a <code>Struts</code> on <code>Tomcat</code>.</p>