I'm guessing it's either for a Quiz script or an Auction script.
If you want to make it easy on yourself, use a database to store the
starting time (when the timer "starts") and what time the test/auction
should end. When someome makes a submission, get the time stored in the
database and see if
there is no sure way, but using cookies/sessions you can make something that will
*work* . assign the user a session_id, every time the user makes an entry add a value
to the db,
session_id = $SessionID
next_time = time() + 120
every time you make an entry, check to make sure that next_time <
2 matches
Mail list logo