#16 access to Session::checkSessionTime

open
nobody
None
5
2010-08-23
2010-08-23
No

when an application gets the onLogout() callback from Session::disconnect() there is no obvious way for the application to tell if the disconnection was because the session reached its configured EndTime, or if the session disconnected unexpectedly.

this makes it difficult for the application to know whether the logout was expected or is exceptional and should be logged or trigger an alert of some kind.

the application could ignore expected logouts if it could detect them e.g. if Session::enabled() returned false or if Session::checkSessionTime() was public

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks