Some ideas for you...
One suggestion is to have a table that you write at datetime stamp for in and out of your database. If 5 records don't have an outstamp, deny the user. The problems with this are that if a session crashes and doesn't write an outstamp it will keep a licence used.
Another way is to have a table with 5 records in it. Each user looks for a record that is not locked, then locks it. If all records are locked the user is denied access. If your application crashes, the lock should be freed.
>Any information about how I can control my application to run
>for specific users for example no more than 5 users.
>thank you in advance.
Précédent
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