Difference between revisions of "WebApplication.SessionTimeout"

From Xojo Documentation

m (Fix See Also section to point to the API 2 versions and remove WebApplication.Timeout which no longer exists.)
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
 
}}
 
}}
 
{{Description
 
{{Description
|text = The number of seconds after a browser disconnects that the session will actually be removed from memory. The default is 10. }}
+
|text = The number of seconds after a browser disconnects that the session will actually be removed from memory. The default is 180. }}
  
 
== Notes ==
 
== Notes ==
Line 14: Line 14:
  
 
== See Also ==
 
== See Also ==
[[WebApplication.Timeout | Timeout]], [[WebSession.Timeout]] properties
+
[[WebSession.UserTimeout]] properties
  
[[WebSession.TimedOut]] event handler
+
[[WebSession.UserTimedOut]] event handler

Latest revision as of 20:09, 14 March 2021

Property (As Integer )
aWebApplication.SessionTimeout = newIntegerValue
or
IntegerValue = aWebApplication.SessionTimeout

New in 2014r3

Supported for all project types and targets.

The number of seconds after a browser disconnects that the session will actually be removed from memory. The default is 180.

Notes

This is the period of time that a Session stays around to avoid the overhead of starting up a new Session, should the user come "right back". Use this property to adjust this time up or down based on your system and user requirements. It should not be set too low. Since it defines the amount of time that passes since the last communication from the browser to when the Session is actually closed, setting it too low could disconnect active users.

In most cases you should not need to change this property.

See Also

WebSession.UserTimeout properties

WebSession.UserTimedOut event handler