Back to product page

SessionTimeout property


Holds timeout value for sessions, in seconds.

Type

Integer

Syntax

  • Basic
object.SessionTimeout [= value]
The SessionTimeout(object,value) syntax has these parts:
objectAn expression evaluating to an object of type wodWebServer
valueA Integer value.

Remarks

This property specifies timeout value before collection of session variables for the user is destroyed - for inactivity. As you might know, wodWebServer keeps collection of session variables you may set for each user (using User.SessionVars property). Each time user reconnects to the server, his session variables are found and referenced in SessionVars property so you can easily assign and use them.

However, when user finally leaves the server, these values should be destroyed - but no one can tell you when exactly user left. This is why you must set SessionTimeout property, which will cause to destroy session that belongs to a user who did not reconnect in specified amount of time (in seconds).

Platforms

Windows