#1 Yesterday 08:14:21

anouri
Member
Registered: 2024-02-11
Posts: 120

_ping_ does not affect Session expire?

Sending http://localhost:8282/root/CacheFlush/_ping_ does not renew session!

server start:

https://gist.github.com/a-nouri/48c5806 … 5947366ccd


I debbug it and in:
function TServiceFactoryServer.RenewSession(Ctxt: TRestServerUriContext): integer;

fInstances.Count is 0 !
and fInstanceCreation is sicShared

so function exit.

I don't know why fInstances.Count is zero, but why does this function only work for sicClientDriven, sicPerSession.

Thanks for help

Last edited by anouri (Yesterday 08:27:17)

Offline

Board footer

Powered by FluxBB