Back to product page
- Introduction
- License agreement
- Getting Started
- Enumerations
- Objects
- How to get support?
- Technical information
- Fast notifications interface
- Error list
SessionTimeout property
Holds timeout value for sessions, in seconds.
Type
IntegerSyntax
- Basic
object.SessionTimeout [= value]
The SessionTimeout(object,value) syntax has these parts:
The SessionTimeout(object,value) syntax has these parts:
object | An expression evaluating to an object of type wodWebServer |
value | A 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).