Log In    |    Knowledge Base    |    4D Home
Tech Note: Logging Off an Inactive User
PRODUCT: 4D Server | VERSION: 3.x | PLATFORM: Mac & Win
Published On: January 1, 1996

Many 4D Server systems require a feature which will log off users after a fixed period of inactivity. This problem arises for two primary reasons:

1. 4D Server is licensed on the basis of concurrent usage. This means that a user who is not actively using the system takes up a license which could otherwise be used by another user.

2. For security reasons, the enterprise requires that a user who is not actively using the database be logged off of the system after a reasonable amount of time. This prevents an unauthorized user from walking up to the unused machine and accessing the database.

This tech note contains a technique of logging inactive users off which avoids the two primary disadvantages of:

1. Logging users off inappropriately (i.e., checking for usage after a fixed period of time, without giving credit for usage prior to that time)

2. Checking for user events continuously, with the excessive overhead associated with that technique.