You are not logged in.
Can THttpApiServer or THttpAsyncServer use sessions to store user information? For example, storing user accounts, user department IDs, user login IPs, login times, etc.
If possible, how can I use it?
thank you.
Offline
You can use a JWT to authenticate and store session information, and check it at THttpServerGeneric (i.e. transport) level, within the Bearer.
But there is a full session mechanism, with proper storage, at TRestServer (i.e. REST) level.
Offline
thanks.
Offline