You are not logged in.
Pages: 1
Thanks!
I write a NamedPipe Server (like '\\.\pipe\mORMot_AdvGuardDts_Rest.001') With Windows Service, when client accessed , report " Server not available - Invaild Request" Error.
But same code under Desktop Program, Client access Normal.
I use Windows 10 , Berlin 10.1.
Thanks!
I use mORMot to write a service program, the create code is as follows:
fModel := TSQLModel.Create([TSQLAuthUser, TSQLAuthGroup],ROOT_NAME);
fRestServer := TSQLRestServerFullMemory.Create(fModel,false);
ServiceFactoryServer := fRestServer.ServiceDefine(TRestMethods,[IRestMethods], SERVICE_INSTANCE_IMPLEMENTATION);
fRestServer.AuthenticationRegister(TSQLRestServerAuthenticationDefault);
At the start of service dynamically add user and user group information based on user tables in the database,
The problem is that I changed(update,delete or insert) the user information in the database,
How can I dynamically change the server and user and user group settings during service operation?
Thanks!
Thank you very much!
I want to get the client IP in the server side Methods, how should I do?
Thanks!
Pages: 1