Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to control end user licences
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00410778
Message ID:
00410936
Vues:
15
>>Hola Carlos,
>>
>>If you want to grant 10 licenses, create a table with 10 records. Whenever a user logs in, he grabs the first available record and locks it.
>>
>>When 10 records are locked, no more users can grab a license and the program bounces them.
>>
>>If any workstation crashes, its locked record is released.
>>
>>This is the simplest way I've seen for implementing what you need, but I'm sure that someone can poke holes at it and/or come up with something more interesting.
>>
>>alex
>

>But what if the user add records to the table?

Aha! That's where your creativity comes into play. If you're not dealing with the guys from Lopht or the Legion of Doom, you could just use a 200 character field and among what appears to be garbage, include significant information, such as the record number (so they don't just copy a single record 20 times to get 20 licenses), expiration dates, you name it...

Now, if you're dealing with the above mentioned groups, I don't think there's ANYTHING you can do that would be worth the work you'll do. ;-)

Alex
Low-carb diet not working? Try the Low-food diet instead!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform