I would like to use the session objects for local deployment but the application doesn't default generate session objects in 18.104.22.168. I know that it is possible to give custom parameters (PersistentSessions = true) in the mendix service console on a server to generate the session objects. What it the way to accomplish the same on local deployment? Is there also a way to get all sessions without saving session objects, maybe with java code?
Marco de Kievit
For an application with non-persistent sessions it's not possible to obtain the number of active sessions in 22.214.171.124. In the Core class a method getNumberConcurrentUsers() exists which calculates the number of active sessions, but only for persistent sessions. In 2.5.1 the implementation of this method will be extended such that it will return the correct number of active sessions for non-persistent sessions as well.