lotus domino - Javascript Timer for online exam -


i have built online exam portal, allows student take exam online using web browser.

now in have developed timer function wherein user has complete exam within stipulated time frame. getting trouble when refresh page timer again start fresh example 40 minutes. problem want when user refresh page should not reinstate timer or same case when click on next question button.

the context here lotus domino want achieve things using javascriot, there anyway can store timer value before page refreshed or page submitted , when post refreshing / next question should start past value..

thanks hdc

you can store values either in cookies or better use html5 feature of localstorage.

https://developer.mozilla.org/en-us/docs/web/api/window/localstorage


Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -