April 6, 200916 yr Hi, Is there any built-in function to find out how many users are currently using (logged-in) the hosted file? Thanks, Garu
April 6, 200916 yr 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.
April 6, 200916 yr 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).
Create an account or sign in to comment