I’m using a TDADBSessionManager and I want to license the server via concurrent users.
However, there is one “user” for an automatic process that I need to allow to login even if the MaxSessions has been reached.
The SessionManager component is on the serverdatamodule - how can I find out either the SessionID or the User ID from within the ServerDataModule? I see it’s visible via ClientID on the RemoteDataModules?
I’m using a custom RODL based Delphi server with DA v9.
I think, you can create special login service that will use personal TDADBSessionManager.
of course, this special login can be protected with Roles and can use different port & dispatcher and can be private.
as a result, this special login will always allow login.
another way: increase TDADBSessionManager.MaxSessions at detecting special “user”, and decrease at his logoff.