0
votes

I've noticed that after clicking logout in Oracle Apex 20+ apps sessions stays alive. It wasn't a problem untill I've migrated app from Apex 4.2. In this version after logout there is no longer session with specific user_name. In both &LOGOUT_URL. is the same:

/apex_authentication.logout?p_app_id=XXX&p_session_id=XXX

Anything changed in recent version of APEX how logout works? There is a need to always close sessions after logging out.

1

1 Answers

1
votes

The sessions will remain in active in the apex_workspace_sessions until the session timeout(Maximum Session Idle Time in Seconds/Maximum Session Length in Seconds) mentioned in the application exceeds.

If you are on 18.1 or higher you can use apex_session.delete_session to do all the work for you.