The following can be done to acieve what you want.
1. Create a DataBase with name, say MyUsers
2. Have fields for User Name etc.. for each user.
3. When ever a user is in, Open this database and lock the users record. The DBF can be opened in say 50 or so slot with an alais, and remember to leave this file open always. So whenever individual programs open database and closes, remember to close all except this user file. Only Quit from the software shall close this file. What we achieve by this is that the users record remains locked till he logs out.
4. Always check, if the users record is locked already, before locking the record. If it is already locked, it means he has loged in from station already. This is true, even if the user loged in from the same station.
5. Any accidental quit from software automaticaly unlocks the record. So this will not create a problem.
I am using this method successfuly for over 6 or 7 years now in various places.
ramani :-9
(Subramanian.G)
FoxAcc
ramani_g@yahoo.com