hi everyone,
Iam doing a question bank and solution project.My problem is how to set time when a student is solving a paper.I tried using javascript
but when a postback occurs the timer is reset.

When submitting form (before calling postback) you can store current time to some hidden field, and when you load data from postback, just read data from this field and continue time counting from that value.

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.