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!

Handle browser back button after login.

PamelaNov 26 2013 — edited Nov 27 2013

Hello,

After successful login the user can press back button and go back to login page but the session that is keeping the user data is still valid.

How to invalidate the session when the user clicks back and reaches the login page?

My plan is when the user presses back to call a javascript function that will call server side function that will invalidate the session. But I had problems with the handling the browser back button and I am not sure that it is working in google chrome as well.

I am using JDeveloper Studio Edition Version 11.1.2.3.0.

Regards.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 25 2013
Added on Nov 26 2013
3 comments
752 views