pquery Posted June 1, 2008 Share Posted June 1, 2008 What would be the best way on an online quiz, using a php/mySQL framwork to make a person - once they've started the quiz have to finish or get zero's? What would be the best way on an online quiz, using a php/mySQL framwork to make a person - once they've started the quiz have to finish or get zero's? Zend? Ajax? Ruby? Perl? Just sessions / cookies? (something else?) (I'd like it if they close the browser that it would submit a call as well, and I'm thinking that might have to be done with JavaScript) Quote Link to comment Share on other sites More sharing options...
stuffradio Posted June 1, 2008 Share Posted June 1, 2008 Haha this sounds like an homework assignment Quote Link to comment Share on other sites More sharing options...
Xeoncross Posted June 1, 2008 Share Posted June 1, 2008 Well, if the kids don't know anything you could just set the session to expire when the browser is closed. (cookie life = current time()) Then a new session would start next time they came back. Or you could limit the time between pages like after 10mins give the person a zero. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.