orbeon / orbeon-forms

Orbeon Forms is an open source web forms solution. It includes an XForms engine, the Form Builder web-based form editor, and the Form Runner runtime.
http://www.orbeon.com/
GNU Lesser General Public License v2.1
511 stars 220 forks source link

Check that the heartbeat feature still works #6364

Open ebruchez opened 3 weeks ago

ebruchez commented 3 weeks ago

Changing the session time to 5 minutes, I do see activity, heartbeat events sent, and the session extended.

The reason I opened this issue is that I have regularly come back to a page, and the session had expired. I wonder if it is because Chrome paused the tab?

ebruchez commented 3 weeks ago

If this is indeed due to the browser killing/pausing tabs more often, we might need some new creative solutions to help. For example:

ebruchez commented 2 weeks ago

Checking the timeline of a failed case locally, with a 5 minute session in web.xml:

ebruchez commented 2 weeks ago

So it seems that the client dispatches the events about every 5 minutes (but there is variation, not sure why). The failure is after about 40 minutes in this case.

Possibilities: