Skip to main content

Posts

Showing posts from January, 2020

Oracle APEX Detect multiple browser tabs

One complaint I often hear about APEX applications is, issues users may face when they open application in multiple browser tabs/windows. Some pages which contains only reports or dash board pages may work fine even when opened in multiple tabs/windows. However, some pages may have issues like wrongly updating session states, seeing mixed data from two separate records or worst case wrong data being updated to DB. General advise I give to users is, please use different browsers, if you want to open same application/page in two tabs . But, can we somehow detect that user has opened more than one tab and show the message directly from the application itself? And the answer is, Yes, we can and here is the link to demo . If you want to implement this technique in your APEX application or page, all you need to do is Download noMulTabs.js  and add this JS file to your APEX application. If you are not sure what is the best way to do it, you can refer  Adding JavaScript to an Applica