Detecting and handling session timeouts
Each time a client request is sent to the server a predefined, application-wide, configurable session timeout value is written to the page to determine when a session timeout should occur. A page is considered eligible to timeout if there is no keyboard, mouse or any other programmatic activity on the page. Moreover, an additional application configuration option exists to warn the user sometime prior to the session expiration that a timeout is imminent.
In this recipe, we will see how to gracefully handle a session timeout by redirecting the application to a specific page, the login page in this case, once a session timeout is detected.
Getting ready
You will need to create a skeleton ...
Get Oracle JDeveloper 11gR2 Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.