WeOnlyDo! wodWebServer ActiveX - SessionTimeout Property
      
 

Description

Holds timeout value for sessions, in seconds.


Property type

An Integer value.  


Syntax

object.SessionTimeout [= value]



The SessionTimeout Property syntax has these parts:

Part Description
object An expression evaluating to an object of type wodWebServer.
value An 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).