Hi, Is there a way to get the solution name which the client is currently using? In the Clients page of Servoy Application Server, the list of clients connected displays the solution name. Can I access that same information through a server plugin? Maybe I can access that in formation in a class anywhere near IServerAccess.getConnectedClients()? Is this possible?
Erik,
That is currently not possible.
You can enter a feature request in our support system to add this info to the api.
Rob
rgansevles:
Erik,That is currently not possible.
You can enter a feature request in our support system to add this info to the api.Rob
Ok, thanks.
Rob,
Isn’t it possible to add the information yourself via application.addClientInfo() ?
Bob,
With application.addClientInfo() you can add info but there is no api to get that from a client info
Rob
Optionally, you could look at our UserManager plugin. It provides that information for clients.
patrick:
Optionally, you could look at our UserManager plugin. It provides that information for clients.
Hi Patrick,
I am trying the sample solution of the usermanager plugin. However, when I went to the “Getting client information” tab, the solution name of the other solutions were not visible.
Our application server may contain many solutions. What I wanted to achieve is a functionality in solution B to send messages to clients of solutionA and eventually shutdown those clients after X minutes.
In a short test here that worked just fine. Maybe you request that information before the user has actually loaded the solution? I will have another look at that.
patrick:
In a short test here that worked just fine. Maybe you request that information before the user has actually loaded the solution? I will have another look at that.
my solution has login form. will that make a difference?
not after the login has been performed.