I have an APEX application that uses the Oracle Timer plug-in to periodically (once per second) cause the server-side Dynamic Action to connect to a TCP/IP-enabled device.
The problem is that when the session times out on the server-side, the one-second timer continues to fire on the client side, causing a multitude of AJAX errors (because the server is no longer responding.)
Hoping to pre-empt the Server-side timeout, I installed the Skillbuilders Idle Session Tmeout plug-in, but it does not cause the client to re-direct to the logoff page. When testing, the 'logoff' (re-direct) page is never displayed, but when I sign in for another test run, i am immediately re-directed to the 'logoff' page.
I am wondering if the one-second timer is interfering with the idle session timer. I have looked at the events defined in the idle session plug-in, and I am certain that none of them are occurring--only the one-second timer.
Any thoughts/insights would be greatly appreciated!
Here are my settings:
Session Timeout
Maximum Session Length in Seconds: blank
On session timeout direct to this URL: blank
Maximum Session Idle Time in Seconds: 30 (for testing)
On session idle time timeout direct to this URL: <url>
Session Timeout Plugin
Session Timeout Action:REDIRECT (I have also tried LOGOUT)
Session Timeout Message:This session has been idle for too long! ( default)
Mask Browser Screen on Timeout:N (default)
Session Idle Warning: N
Session Idle Title: Idle Session Warning
Session Idle Message:This session will expire within 10 minutes.
Show Warning Seconds Before: 600 ( 60 seconds * 10 minutes = 6000 seconds)
Keep Session Alive:N (as long as the user is active we will keep refreshing the session.)