I modified the lifecycle
on the server to invocation . On the client, I have modified the PreserveSessionID
property of the DRestConection component to false because I do not have the need to manage or create sessions. This way, if the server or link is unavailable as soon as the interruption is remedied, the application will be able to redo the connection.
The security routine I use is applied in two moments when the mainform where the menus are mounted and when connecting the DRestConection component where are passed the login and password for access to the server methods.
At first it worked, I'm doing more tests to reach a final conclusion.
Thank you all for your help.