WebSession.Timeout

From Xojo Documentation

Property (As Integer )
aWebSession.Timeout = newIntegerValue
or
IntegerValue = aWebSession.Timeout

New in 2012r1

Supported for all project types and targets.

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.

Example

This example is in the Open event of the WebSession.

Self.Timeout = 30

See Also

WebApplication.Timeout, WebApplication.SessionTimeout properties

WebSession.TimedOut event