WebSession.Timeout

From Xojo Documentation

Revision as of 13:28, 18 June 2015 by PLefebvre (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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