Project

General

Profile

accessing WebSession::expireTime

Added by Peter Tagwercher over 3 years ago

Hi all,

I would like to display the countdown until the session times out, and, on the other hand I would like not to re-implement everything to "catch" user activity (as stated in WApplication.h in referenct to idleTimeout: The events currently counted as user activity are: mousedown, mouseup, wheel, keydown, keyup, touchstart, touchend, pointerdownpointerup.

I don't want to use the idleTimeout() override since this, as I understand, only waits for the idle-timeout (from wt_config.xml) and then display a window for the user to click "abort"

My plan is to display a countdown to the configured timeout that is interrupted/reset by user activity. Is there a simple way of doing this?

Best Regards,

Peter