Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Concurrent users
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Titre:
Concurrent users
Divers
Thread ID:
00232279
Message ID:
00232279
Vues:
46
I am looking for a way to limit concurrent users logged onto at the same time.

Record locking will not work in this program because of to many 'CLOSE DATA' commands.

I was thinking about a something like this...
** User logs on and sets the resource to a pre-determined path
SET RESOURCE TO net_path.xlogpath+ALLTRIM(c_userid)+".DBF"

** Then check all file's usage status in net_path.xlogpath. If there are more then 20 files in use in that DIR then limit user log on.

Great for just a couple of users but this takes to much time on 50 user packs.

Any suggestions?
- jim durkin

"The universe is a big place, perhaps the biggest." Kurt Vonnegut
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform