Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Concurrent users
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Client/server
Title:
Concurrent users
Miscellaneous
Thread ID:
00232279
Message ID:
00232279
Views:
44
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
Next
Reply
Map
View

Click here to load this message in the networking platform