Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Users on a system
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00114314
Message ID:
00114801
Views:
18
>>>Is there any way to determine how many users are logged into a FoxPro app? I need for some processing to take place if a user is the last one to exit an app.
>>
>>You could have a table that a user write their login time to when entering the app and writes their logout time when exiting. Each time a user exits just check to see if their are any records with no logout times.
>
>This of course assumes the system never crashes, leaving a logged-in user.
>
>Barbara (playing devil's advocate again)

You can also create a users table and RLOCK the relevant record when user logg in. On exit , just unlock. You can get the logged-in users by checking locked records. This works even if system crash.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform