i developed an online quiz application that retrieves the questions from the database and displays it to the user.how can i put time constraint into that application

Recommended Answers

All 3 Replies

You will need to do it with some scripting language like Ajax which will help you with forwarding data to server after time expire

Or put a timestamp in the http session at the time the page is sent to the client, and check whether the time between that and receiving the submitted answer from the client is within limits.

jwenting would be there a way to show remaining time to user if session used? How could this be achieved?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.