Forum Discussion
NatalieChang
3 years agoCommunity Member
Lock a quiz for 24 hours if user fails before 2nd attempt is allowed?
Hi Heroes,
Reaching out to any JavaScript coding experts!
I'm pretty new to Storyline 360 and don't know JavaScript... I'm developing a basic computer literacy and typing course and I'd like to ...
Nedim
2 years agoCommunity Member
My concern is that learners could potentially manipulate the time on their local machines to skip ahead 24 hours and refresh the course, making the button clickable prematurely. To prevent this, I suggest using a more secure method to determine the current time. One solution is to use an online time API, such as worldtimeapi.org, to fetch the current time from a reliable source. Alternatively, implementing a server-based approach to validate the time would ensure the integrity of the time-checking mechanism.
KyleYates1
2 years agoCommunity Member
Thanks, I'll look into this. I'm not this concerned in my case, but I could see how some clever folks might figure this out in a more high security situation. But if there is a better "fetch" option, sounds great.
Related Content
- 15 days ago
- 10 years ago