Hello,
We’re using SS custom authentication. We’ve registered our typed session object and handle logout logic in OnLogout() override.
However, we see that this method is called even when there is no valid session exist. Usually, a client sends logout on window closing. It’s possible to open a window (see login screen) and then instead of authenticating, just to close it. As result we still have OnLogout() method called.
Is it possible to make it called only for valid sessions? Is there another mechanism to do actions on (valid) logout?
Thank you,
Leonid