Jump to content

Active Logins


This topic is 5493 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Ok, ok there is an even longer answer.

It's possible to do *anything* with FMP, even things that FMP does not do natively. Generally, however, a trade-off is made with complexity and reliability.

User logging can be done by scripting the file opening (startup script) so that each user creates a record in a "users" table. When the users close the file this record is either marked as being closed or deleted (or something similar) with a shutdown script so that active user records can be distinguished from non-active.

Such a scheme will only work if the users *always* run the startup script at file open and *always* run the shutdown script at file close. It's pretty easy to break such schemes, so the whole thing becomes unreliable.

Link to comment
Share on other sites

Short answer: Get (UserCount).

Long answer: Get (UserCount). Other than that, I agree with everything you said.

Even longer answer: This question is posted in the 'Server 8' section. I am not sure what information you can get from the server application itself. But in the client there is Get (UserCount).

Link to comment
Share on other sites

This topic is 5493 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.