Timer Logic

I am having problems with the timer. When I change sections for a quiz sometimes i can lose up to 10 seconds of time, and that's a lot for a 2 minute quiz.

I looked at the code for the timer. The timer starts on the server but it would be better if it started on the client, that way they would not loose time when receiving the page from the server.

Also when the section is changed, the start time is deducted from the current time as the amount of time left for the quiz, but this cause the client to loose time if the network is slow. If the client changes sections at 2:22 but it takes 1 minute to reach the server, then the server will still think the client wanted to change sections at 2:23.

This is what I seem to understand from the code.