Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Detect active users at SQL Server
Message
 
 
To
13/11/2011 17:18:51
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:
01528782
Views:
59
>>>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.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform