Global.countUsers ()
function counting active users and anonymous sessions (thought to be called by the scheduler)

Sourcecode in Global/objectFunctions.js:
1:   function countUsers() {
2:      app.data.activeUsers = new Array();
3:      var l = app.getActiveUsers();
4:      for (var i in l)
5:         app.data.activeUsers[app.data.activeUsers.length] = l[i];
6:      l = app.getSessions();
7:      app.data.sessions = 0;
8:      for (var i in l) {
9:         if (!l[i].user)
10:           app.data.sessions++;
11:     }
12:     app.data.activeUsers.sort();
13:     return;
14:  }