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

--Detecting manual logout

Information about development with ProjX.

--Detecting manual logout

Postby Development@SIB » Thu Oct 20, 2016 1:01 pm



This article is outdated - please use our new system at

https://doc.sibvisions.com




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

Code: Select all
<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.
User avatar
Development@SIB
 
Posts: 325
Joined: Mon Sep 28, 2009 1:54 pm

Return to Documentation