How to keep alive a user's session while they are posting on a forum?

Viewed 39299

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?

I already use JQuery on these pages, so possibly pinging a server, but on what events?

The backend is a Struts on Tomcat.

3 Answers
Related