Back to product page
- Introduction
- License agreement
- Getting Started
- Enumerations
- Objects
- How to get support?
- Technical information
- Fast notifications interface
- Error list
UserConnected callback method
Called when user connects to wodWebServer
Syntax
- Basic
object.UserConnected (Owner, User, Action)
The UserConnected(object,Owner,User,Action) syntax has these parts:
The UserConnected(object,Owner,User,Action) syntax has these parts:
object | An expression evaluating to an object of type IwodWebNotify |
Owner | An expression evaluating to an object of type wodWebServer |
User | WebUser object. Reference to user that called CGI script. |
Action | WebActions enumeration. You should set this value to Allow if you want to accept this user, or Deny if you want to close the connection. |
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.UserConnected notification method is called immediately when connection is established between the client and the wodWebServer, but before he sent any requests to the server. At this point you can decide to reject user's connection. You can do so if, for example, his RemoteIP does not match list of addresses you plan to allow, or you are not ready to serve clients, etc..