Skip navigation
Thorsted
Currently Being Moderated

Counting clients for all instances in an application

Oct 24, 2013 1:09 AM

Tags: #application #instance #length #sharedobject #clients

I have multiple instances in an application and want to count the number of connected clients in each instance, and then make this information available to all clients connected to the application, in ex. a SharedObject. This way I can sync on changes every time a client is connected or disconnected without havint to write externally to a php page, and then use a timer to get this information back to each client, this slows down the sql server when hundreds of users are connected to hundreds of instances.

 

Is there a equivalent function to application.clients.length for the application across all instances, or a way to make a SharedObject run "globally" on the application and not on each instance?

 

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points