You are not logged in.
Pages: 1
Hello folks,
I'm developing a SPA web application with mORMot in the backend base on TSQLRestServerFullMemory, an so far everything is going nicely.
However, I couldn't find a way to keep the session from expiring.. I've looked into TServiceFactoryServer.SetTimeoutSec but it seems like this is not way to do it.
What I would like to achieve is, once a user is properly authenticated, he can sent a request to server, regarles of the time of inactivity it mighty lapsed from the last request, and have it served. (Much like Gmail).
Is this possible?
Regards,
Mane
Offline
This behavior is controlled by SessionTimeout per sessión established in TSQLAuthGroup as documented here
Even you can react to an authentication error through as documented here
Offline
Thank you very much Xalo, I'll dive in.
Regards,
Mane
Offline
Pages: 1