Time management in online examinations!

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

Post Reply
rkwagle
Forum Newbie
Posts: 1
Joined: Thu Jul 07, 2005 1:10 pm

Time management in online examinations!

Post 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!
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post 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"...
Post Reply