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