Click here to Skip to main content
15,893,622 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have created a web application and deployed it in tomcat7. This app works in the following way: User logs in through proper authentication and then a test page(html) is displayed where user selects answers and submits the test. After submitting another serverlet is called where score is displayed to the user.

The problem here is once after getting the score if the user goes back(through browser back button) and submits the test again,the score is being altered.What shall i do to prevent this?
Posted
Updated 5-May-12 8:43am
v2

1 solution

This has nothing to do with tomcat.

Check the following link for html solutions : http://www.htmlgoodies.com/tutorials/buttons/article.php/3478911/Disabling-the-Back-Button.htm[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900