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