-
New Feature
-
Resolution: Fixed
-
Minor
-
1.9.12, 2.0.3, 2.3.3, 2.4.6, 2.5, 2.6
-
All
-
Any
-
MOODLE_19_STABLE, MOODLE_20_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE
-
MOODLE_27_STABLE
-
MDL-28261-master -
One of the most common issues I deal with with clients is that their learners sometimes do not have learner progress recorded. The scorm packages that I see associated with this kind of issue are all the same in the way they behave: they initialize and send some data on initial load, and then do not send any data until the last page view of the scorm content. I suspect that somewhere in there the learner (on hotel wireless, traveling, not the best 'net connection, whatever) has network dropped, and when data tries to save, it is not saved, but the SCORM object does not tell them at any time that network connection has been lost. Some vendors create content that only calls LMSCommit() once in a single 20m session, just before LMSFinish()... and according to the SCORM standard this is not incorrect.
It would be great if the Moodle scorm player could check the user's network connection at intervals, and notify the learner if network connection was intermittent or lost. This would preempt these issues with crappy vendor content. From what I can tell, if the network connection is lost, then LMSCommit() and other calls fail but do not return an error message. In my own testing, try/catch on these calls only catches in some browsers, not all.
Based on my own research, I've been able to determine that it is possible to test network failure by injecting an image into the content page with a same-domain src. This test works in webkit and ff. (not in IE). I also tested the .isonline status, but that is not reliable either. So it seems there isn't any reliable cross-browser way of checking the learner's network connection using javascript.
But I wanted to raise the issue here just in case there is a server-side way, that we could access from the scorm player code, of checking the network at intervals during an api session. I know this can add to bandwidth/load stuff, but it would be great, even as an option to turn on if a site had a lot of learners who weren't having their results saved.
- has a non-specific relationship to
-
MDL-42504 If the quiz auto-save detects that the connection to the server has been lost, we should warn students
- Closed
- has been marked as being related by
-
MDL-45757 SCORM packages & session timeouts
- Closed
-
MDL-45987 SCORM player network checker triggers too many alerts on iPad
- Closed
-
MDL-44913 Backport MDL-28261: scorm session / network test
- Closed
- is blocked by
-
MDL-57804 Add an admin setting to toggle off the checknet.txt checking
- Closed
- is duplicated by
-
MDL-66444 Notification when scorm and moodle connection breaks
- Closed
- will be (partly) resolved by
-
MDL-34498 Session Timeout alert
- Closed