Bit of a break, but back with a bang
View related gallery to this post
Well time to work on this project has been scarce unfortunately, but this evening i got a bit pro active and actually pulled my finger out and did some work. The feedback from the previous testing was that it was working and working well, no one seemed to be able to break it which was good, or they were just not trying hard enough (which is more what I think).
So what has been done to the project?
Well I randomly uncovered a huge loop hole in the project. It was something I was aware of previously but had disreguarded untill it dawned on me the severity of the issue. Basically a user can just hit refresh and be given a different question without answering the previous question they had. So if they didnt like the question or didnt know the answer just hit refresh so you wont get it wrong.
To stop this from happening I tried two methods both of which didnt work and broke the whole quizz. It wasnt untill I noticed that I had misplaced some the code that things started to work two hours later. These is now a process that if you have been given a question (and your session does not time out) you cant no mater how much you refresh get given a different question. You must answer the question you recieve! The session time out part is not an issue as if the session times out then you would also loose how many questions you have answered so you loose your score. Meaning it's not an issue that you get a new question as you are starting from the begining again.
Hmm what else... what else have I done....... OH that's right we now have the design for the quizz in place. The template is built validated and the code has been moved into place. There are still 2 parts overall missing before i go down the jquery route (report a question and counting the questions you have had right) but apart from that we are pretty much 85% finished this project.