Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Identifying Current Users
Message
De
21/03/2003 09:59:05
 
 
À
21/03/2003 07:50:36
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00766489
Message ID:
00768565
Vues:
25
Another possible way to do it is to lock the individual user record in the user file as each user logs in. When you want to see how many users are in the system, scan the user file and count the number of records that are locked.

Alan

>I did read it. Just not thoroughly... I like it, it's a good approach. I'm having a little trouble with not being able to erase the physical file as it thinks it's being used, but that'll work out.
>
>BTW, not sure if I copied it wrong from your site, but for me FOPEN() returns a numeric, not a logical.
>
>>Renior,
>>
>>If you read the article, you'll see that my solution will solve your problem.
>>
>>
>>>>Maybe the article Limiting Simultaneous Users by Craig Berntson http://www.craigberntson.com/Articles/kb003.htm can help ?
>>>
>>>Hey Sergey,
>>>
>>>Not really. It would help if I needed to know how many users, but not who is running the app.
>>>
>>>Renoir
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform