Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Detect active users at SQL Server
Message
De
13/11/2011 17:31:45
 
 
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:
01528785
Vues:
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.
>>
>>I know that it's possible, but it's a pain in practice.
>
>What are the alternatives?

No idea right now.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform