Oracle APEX Registered Users

Is it possible to show the number of registered users. Oracle Apex uses the standard

Authorization scheme

DB 11g APEX: 4.2

+3


source to share


1 answer


Since APEX (like any web system) is stateless, there is no clear list of people who are logged in. Someone may have accessed the page 1 second ago, then closed their browser and closed the PC. Are they still "signed in"? APEX doesn't know they don't exist yet.

So, I would probably go for something like this:



select count(*)
from APEX_WORKSPACE_LOG_SUMMARY_USR
where workspace = 'MY_WORKSPACE'
and apex_user != 'nobody'
and last_view > sysdate-15/24/60;

      

i.e. authenticated people who have viewed a page in my workspace in the last 15 minutes.

+4


source







All Articles