Information générale
Catégorie:
The Mere Mortals Framework
Hi.
I think you can create dbf with records. One records to one licence.
When user logon he LOCATE FOR !LOCK() If found not locked record user LOCKs this record..
Etc.. until all licence records will not locked.. When last user try logon.. he get FOUND() = .f. limit of license all licence will locked.
When users close program record automaticaly unlocked
Second way place dbf for each licence and USE this licence table EXCLUSIVE and check errors.. Try to use each table until using not success. If can't use .. then all license in use.
Its my mind about this problem. It is not related to MM Framework..
Denis
>Hi! Does the MM Framework provide any feature where the maximum number of concurrent users can be specified, and it automatically disallows logging in after that number has been reached?
>Thanks!
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement