Documentation

(applications)

Detecting Manual Logout

If you work with your own security manager, it might be useful to know the difference between manual logout and session destroy because of a timeout.

The ProjX application sets the connection/session property userlogout to true (string). You can check the property via

<ISession>.getProperty("userlogout");

The property is set if the user manually logs out from the application. It's not set if the user doesn't logout manually.

With newer JVx versions, it's also possible to read the session property expired. It's set to Boolean.TRUE in case of an automatically expired session.

This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information