Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ADF 12c: Proper Session handling

rade.todorovichJun 19 2014 — edited Jun 20 2014

JDeveloper 12.1.2

I have ADF fusion web application with ADF security. There are 4 scenarios I am interested in best practice solution

1. User Initiated Logout and session is invalidated Protected ADF page (by ADF securty) has logout link. I have implemented this and works fine. User is redirected back to login page

2. User stays idle for the time that exceeds session timeout set in web.xml. There is a small popup which when user clicks, I would like to redirect back to login page. No need to have custom page that says: "Session expired" since that popup already says so. The question is how to do this? I read a note Doc ID 741576.1 (and found on this forum) that describes how to setup a custom filter that redirects to custom page. This does not work in 12c version with adf security.

3. User closes the browser in the middle of the session. What is the best way to do this? Please provide detailed examples if known or links to actual solutions

4. User closes the browser after automatic session expiration popup is shown. Not sure if this is the same as 2? Is the session really invalidated?

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 18 2014
Added on Jun 19 2014
7 comments
1,892 views