From Xojo Documentation
The number of seconds the end-user can be idle before the TimedOut event fires. Set this value to zero to disable the timeout. The default behavior is no timeout, for backward compatibility.
Whether or not the user is idle is determined by the MouseMove and KeyUp events on the browser itself.
This example is in the Open event of the WebSession.