Page 1 of 1

Time management in online examinations!

Posted: Thu Jul 07, 2005 1:24 pm
by rkwagle
Hey i just got stuck as i am developing an online examinations system using php mysql.

my system requires the constantly decreasing of certain given time for the exam eg. 15 mins. and after that the whole of the system should be stopped.

help me!

Posted: Thu Jul 07, 2005 1:28 pm
by timvw
All you can do is track the start time. And on every request check if the current time - starttime is still smaller than allowed interval..


You would need to use a client-side tool, like javascript to reload/request the page.. and see if it's still "running"...