Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Handling user session logout when browser/tab is closed

vijay dasariSep 25 2025 — edited Sep 26 2025

Jdev: 12.1.2.4.0

In our ADF application

We have a table that tracks user sessions with login and logout timestamps. However, when a user closes the browser or tab without explicitly logging out, we’re unable to capture the logout time.

Is there a reliable way to detect and record this kind of session end on the server side?

Any best practices or workarounds would be appreciated.

Thanks in advance.

Comments
Post Details
Added on Sep 25 2025
1 comment
44 views