Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Detect active users at SQL Server
Message
From
13/11/2011 17:31:45
 
General information
Forum:
Visual FoxPro
Category:
Client/server
Environment versions
Visual FoxPro:
VFP 9 SP2
Database:
MS SQL Server
Miscellaneous
Thread ID:
01528779
Message ID:
01528785
Views:
60
>>>>>>Hi All,
>>>>>>
>>>>>>I developed a copy-protect method with some utitilies from UT and other VFP sources. It looks cpu, hdd serial etc...
>>>>>>I was use .dbf file and lock one record for each user when developing .dbf based applications for RDP users.
>>>>>>How can I control active user counts at SQL Server?
>>>>>
>>>>>You can use the same idea as in VFP. Every time the user log in, you create a new record in the table, say, Logins, and in the application destroy you update this record with the logout time.
>>>>
>>>>It works fine until someone forget to exit the program, in other words it will fail pretty soon.
>>>
>>>True, but you can have a test within VFP application for the inactivity and release application (and update login tables) for long periods of inactivity.
>>
>>I know that it's possible, but it's a pain in practice.
>
>What are the alternatives?

No idea right now.
Previous
Reply
Map
View

Click here to load this message in the networking platform