Today’s PictureLenticular clouds over mountains in SE Alaska.
Subscribe by Email
Category Archives: Run Time Environment
After a somewhat longer time than I’d planned, here’s Rev 2.1 of the VSSCORM 1.2 RTE. It includes the following changes from Rev 2.0:
An eagle-eyed reader of the blog has brought the following bug to my attention. In all cases in the php code, you use the string “ab initio” as the value for cmi.core.entry when it is the first time a SCO … Continue reading
In Step 48, I introduced a flag to indicate whether a session had been finished or not. In that post, it was used to ensure that LMSFinish wasn’t called multiple times. But I really ought to extend it to make … Continue reading
I recently spotted a bug in VS SCORM 1.2 RTE Rev 2.0. Line 54 of finish.php reads: $rawscore = readElement(‘cmi.score.raw’); It should read: $rawscore = readElement(‘cmi.core.score.raw’); I’ll incorporate this fix in a new release of the RTE once I’ve made … Continue reading
If you want a very simple test case, you can use this content package – a single SCO consisting of: a title page; 3 test questions (the correct answer in each case is “true”); and a results page.
Rev 2.0 of the VS SCORM RTE – the first version with client-side caching – is now available for you to download.
Time to run a few tests. I start with the test case that I’ve been using since Step 3. Just to make sure that everything is working, I run it part-way through then close the window using the ‘x’ at … Continue reading
I’ve addressed handling of the LMSSetValue() and LMSGetValue(), LMSCommit(), and LMSFinish() calls. The remaining piece of the puzzle is to look at how the RTE is initialized. In Rev 1 of the code, the course/SCO call to LMSInitialize() caused an … Continue reading
In theory, the way that I handle the LMSFinish() API call should be pretty much the same as for Rev 1 of my code. I simply generate an AJAX request to the server which runs a PHP script that carries … Continue reading