Re: Time limit in the script
| From: | Reptilevl | Date: | Thu, 17 Feb 2005 00:51:00 +0000 |
| Subject: | Re: Time limit in the script | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-25607@lists.php.net to get a copy of this message | ||
you could allways set a cookie with the timestamp in it and calculate
problem is, that you won't be able to forward when it's exactly an hour if
you know what I mean.
I made a similar thing once.
I did the forms and stuff in PHP
but I used Javascript for the timer.
I would give you the code but i lost it in a format I'm afraid.
but it worked like a charm.
I hope thise gives you an idea on how you can solve your problem
"Veselina Jecheva" <vessi@bfu.bg> wrote in message
news:5.0.2.1.0.20050215153924.00a022f0@masters.bfu.bg...
> Hello, everyone,
> I have to make a script, that allows the user to solve an online test
> (multiple choise). The test has to be solved during the specific period of
> time (1 hour).
> How can I interrupt the user after the end of the hour and redirect him to
> another page with the results, for example?
> Thanks in advance
> Veselina
>