garrys Posted April 6, 2009 Posted April 6, 2009 Hi, Is there any built-in function to find out how many users are currently using (logged-in) the hosted file? Thanks, Garu
Vaughan Posted April 6, 2009 Posted April 6, 2009 The short answer is "no". That's also the long answer. ;-(
Vaughan Posted April 6, 2009 Posted April 6, 2009 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.
comment Posted April 6, 2009 Posted April 6, 2009 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).
Recommended Posts
This topic is 5710 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 accountSign in
Already have an account? Sign in here.
Sign In Now