numbas / numbas-lti-provider

An LTI tool provider to run Numbas exams
https://docs.numbas.org.uk/lti/en/latest/
Other
11 stars 12 forks source link

It's possible to restart an attempt from scratch by reloading the page #261

Open christianp opened 1 year ago

christianp commented 1 year ago

I suspect that reloading the page is what happened. I haven't looked into how to reproduce this myself yet.

A student's attempt data shows that they started the attempt, and then at some point the timeline shows the attempt starting from scratch again, without an LTI launch happening in the intervening period. I guess that they reloaded the page, and the response was cached, with the ab-initio SCORM data. The student was using Chrome 107.

Should the SCORM API do an AJAX call to get the CMI, instead of embedding it in the page, so it has to be fetched each time the page loads?