Back to product page

StateChange callback method


Called when users state changes

Syntax

  • Basic
object.StateChange (Owner, User, OldState)
The StateChange(object,Owner,User,OldState) syntax has these parts:
objectAn expression evaluating to an object of type IwodWebNotify
OwnerAn expression evaluating to an object of type wodWebServer
UserWebUser object. Reference to user that called CGI script.
OldStateStatesEnum enumeration

Remarks

NOTE: This method is called only if you implemented IwodWebNotify interface in your application, and wodWeb1.Notification property has received reference to instance of your implementation.

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

Platforms

Windows