From Xojo Documentation

Property (As Integer )
aWebSession.UserTimeout = newIntegerValue
IntegerValue = aWebSession.UserTimeout

New in 2020r1

Supported for all project types and targets.

The number of seconds the end-user can be idle before the UserTimedOut event fires. Set this value to zero to disable the timeout. The default value is 180 seconds.

Whether or not the user is idle is determined by the Mouse, Key and Touch events on the browser itself.

Sample Code

This example is in the WebSession.Opening event:

Self.UserTimeout = 30

See Also

WebSession.UserTimedOut event

WebApplication.SessionTimeout property