Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

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!

How can detect user's click on "Back" button in browser?

843833Oct 10 2001 — edited Oct 11 2001
Hi java gurus:
I use servlet as a controller to show pages. If user click "Back" button several times, and execute an operation in the page, at that time the attributes in the session is for the page before clicking "Back". So the operation run with the wrong data. How can I deal with this condition? Can I detect user's click on "Back"?

Thanks for any suggestion.

allan

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 8 2001
Added on Oct 10 2001
21 comments
959 views