Posted on 2003-03-03
ive got a little problem with the app i am developing and am unure of how to go about it.
A user enters info in html form, jsp verfiys info submitted if user is valid and hasant taken test before they are directed to the test page.
(all the above has been implemented)
i want to now time how long it takes the user to complete the test (after they have pressed submit on test page this means they have completed it) and then enter this value in the database as well as checking to see if their answers are correct (i no how to write to the database- but how do i get the time???)
also if the user does not finish within a specfic time ie 10mins then the exam shud be submiited and the databse values updated. and user redirected to another page which tells them of their score/
does ne one no how ii can do this?
how to improve this?
or shud i just try some other way?
thanks in advance ill