The client property client_lastconnected provides the last connection time of the client, but there is no stat available to show the last time the client was seen on the server. So if the client connects, and then stays on the server for a day or two, it appears from the database that the client was on further in the past than they actually were. The alternative to this is to manually check to see who is on the server at regular intervals and keep an external record of that, which should not be necessary.

So my suggestion is to add a client property which returns a timestamp of the last time the client was seen on the server. This can be calculated as follows: if the client is connected now, return the current timestamp. If they are not connected, return the timestamp of the time that they disconnected.

Thanks.