KNOWLEDGE BASE
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
Your current browser may not allow you to download the asset. We recommend Mozilla Firefox or Google Chrome.
Log In

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.

WIN
http://usdl.4d.com/TN/1996/Windows/TN_1996_01-05_(JAN)/96-02_Logging_Off_Users.exe


MAC
http://usdl.4d.com/TN/1996/MacOS/TN_1996_01-05_(JAN)/96-02_Logging_Off_Users.hqx