How to show a page after a specific time period?

Posted by Mahfuz on Stack Overflow See other posts from Stack Overflow or by Mahfuz
Published on 2011-11-21T01:36:38Z Indexed on 2011/11/21 1:51 UTC
Read the original article Hit count: 187

Filed under:
|

I want to build an online quiz test site.

Suppose, exam will start at 10:00 am and a student login to give exam at 9:45 am. Whenever the student clicks 'Take Exam' button, he/she cannot not get access to the question paper because the exam time is 10:00 am and there are still 15 minutes before the exam start.

Now I want to put some Javascript or PHP code that will prohibit the students to give exam earlier and if a students come early, it will show a stopwatch which display the remaining time before exam time and when the current time is equal to exam time then he/she will be directly redirected to the question paper page.

© Stack Overflow or respective owner

Related posts about php

Related posts about JavaScript