Difference between revisions of "WebSession.Timeout"

From Xojo Documentation

 
Line 17: Line 17:
 
Self.Timeout = 30
 
Self.Timeout = 30
 
</rbcode>
 
</rbcode>
 +
 +
== See Also ==
 +
[[WebApplication.Timeout]], [[WebApplication.SessionTimeout]] properties
 +
 +
[[WebSession.TimedOut]] event

Latest revision as of 13:28, 18 June 2015

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