Back to product page

StateChange event

Fires when users state changes.


  • Basic
Private Sub object_StateChange (ByRef User, ByVal OldState)
The StateChange(object,User,OldState) syntax has these parts:
objectAn expression evaluating to an object of type wodWebServer
UserWebUser object. Reference to the user who sent the request.
OldStateStatesEnum enumeration


StateChange event is fired each time user's state changes. Depending on values provided by this event, you can track down user's behavior on your system, deny access to it, or just store it locally for debugging purposes.