Click here to Skip to main content
15,883,769 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:

Hello all,

I have another question. I am working on a web app that a student will log onto and go through several pages of reading the course work. On some of these pages, we have multimedia quizzes where the student will play a video clip and then after they viewed the clip they must answer a question regarding the video. The student must view the clip and answer its related quiz question before going onto the next page. If the student clicks on the "Next Page" button we have on the page before answering the multimedia question correctly, they get redirected to another page that tells them they must answer the mm quiz before moving onto the next page. Now we have a "Back" button that we programmed on the page to take them back to the course reading, however, we know that people like to use the browser back button to go back to previous page. My problem is that the course reading is timed. While the student reads the content lets say they have accumulated 10 minutes 30 seconds of reading the first 3 pages and have spent 1 minute and 30 seconds on the 4th page. If they get redirected to the "You must answer the mm quiz correctly" page and then click on the browser back button to go back to the 4th page of course reading then the timer is not correct. It will be back to 10 minutes 30 seconds (I am sure due to caching) instead of 12 minutes. Is there any way I can stop the caching of this page when the student clicks on the browser back button?

Thanks,

Brad
Posted

1 solution

Would it be an option to display the error message on the same page, and thus not enabling the forward button until the student anwsers the question correctly?
 
Share this answer
 
Comments
Shahriar Iqbal Chowdhury/Galib 29-Jun-11 17:16pm    
not an answer, use comment
Morl99 29-Jun-11 18:40pm    
Even though I formulated this as a question, it is actually a suggestion which could work as a solution to his problem. If not, he has a good place to add something to it, so that I can edit my solution to fit his needs.

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