Click here to Skip to main content
15,949,741 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i am creating an online exam system.I have done most of the work like conductiong test ,result,past test histroy ,login,password recovery
but i need to limit the test ie test duration say of 1 hr.
I have done this using java script but every time the time is getting refresh by clicking "Next Question" button.i.e.it came to again as initial time.I dont know how asp timer is used.plz help...
Posted

1 solution

You're going to have to hold this in the Session.

When the user starts the exam, record the time in the session. This is then your base point for future calculations. When you click 'Next Question' you should refer to this value.
 
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