Re: How give a 'timed' online quiz?
| From: | (Philip Hallstrom) | Date: | Mon, 13 Aug 2001 21:56:47 +0000 |
| Subject: | Re: How give a 'timed' online quiz? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-62507@lists.php.net to get a copy of this message | ||
I would use javascript... have javascript sleep for the time period,
then switch a hidden variable to indicate they didn't finish, then
submit the form.
It's not bullet proof in that I could just turn javascript off on my
machine, but it works...
-philip
In article <3B784270.8000208@businesswebs.com>,
Tom Henry <tomhenry@businesswebs.com> wrote:
>
>Hi
>
>Could someone steer me in the right direction for this one - I can't
>seem to see the forest for the trees.
>
>I want to be able to show the user a set of _quiz_ questions - and
>almost simultaneously (that part's not critical bit) start a _timer_ for
>the quiz session.
>
>The critical bit is that if the preset "time allowed" expires -- I need
>to interrupt the user, capture their answer up to that point in time,
>and send them to the examiner.
>
>Of course if they finish inside the time limit by submitting the quiz
>form - we would just kill the session.
>
>SO - how do I interrupt the user after a set period of time????
>
>
>Thanks for any/all clues for this one.
>Tom
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
>For additional commands, e-mail: php-general-help@lists.php.net
>To contact the list administrators, e-mail: php-list-admin@lists.php.net