Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Detect active users at SQL Server
Message
De
13/11/2011 17:26:15
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Database:
MS SQL Server
Divers
Thread ID:
01528779
Message ID:
01528783
Vues:
65
>>>>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform