Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What app an operator is performing
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 8.1
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01637806
Message ID:
01638215
Views:
64
>Hey, Matt. How's everything? The family? Birmingham?
>
>It's really hot down here in PC. My problem is this. I have an
>app that runs on a server with 15 to 20 users on it. Through my initial
>program I can track when they start the app, which menu selection they are
>running, and when it started.
>
>What happens sometimes is, the operator will abnormally terminate the app, go home, and
>the tracking system doesn't get updated until they log back in.
>
>So sometimes, it will show them as on, when they are not. I want to be able to
>see everyone that is logged onto the server. I would like to do this through VFP.
>
>Ideally, I would like to be able to close them out of the app.
>
>Any ideas?
>
>Have a great day.
>
>Brad

Lock the record for the user on startup and unlock it on exit, if the application crashes the record will be automatically unlocked, so now to check if they are online or not you also check the lock status of the record.
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Previous
Reply
Map
View

Click here to load this message in the networking platform