I am writing a web application using PHP, Javascript and HTML. My application involves tests that the user has to pass over a certain period of time, and programming-wise, t