You can refer to the source property below to identify the number of clients connected to the server. This information is useful for checking if there are any client connections before you transfer a project or before you begin interacting with the server. To display the number of connected clients, you can set the source property below to the [Current Value] property in a numeric display.
(Target Name).Preferences.WebViewer.ConnectedClients |
Read-only property that stores the number of clients connected to the server. When Web Viewer is not configured on the project, the value of the property is 0. |
If communication is unstable and the network line suddenly disconnects then reconnects before a communication timeout occurs, a connected client could be double counted. After that client logs out or there is some other break in communication, the number of connected clients is corrected. |