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 the top of the window to make sure that my LMSCommit() and LMSFinish() calls are operating as expected.
It works as I’d hoped. It’s difficult to gauge any speed improvements because of intentional (i.e. developer-programmed) time delays in the Flash file(s) while they’re displaying. The display time is also affected by server-side caching of files. But it would be fair to say that it seems slightly more responsive, especially when displaying the application simulation exercise. And, when I look at the database contents after closing the window, this is what I see:
Closing the window manually (rather than using an exit button in the course) has called LMSFinish() and triggered the finish.php code correctly, and things look as I’d expected.
Now I try the problem course that I mentioned in Step 43. I can’t show you the course because it’s client-specific, but the speed improvement seems to be significant. Once again, it’s difficult to get an exact figure, but I’d say that page loads (including SCORM API calls by the SCO) were at least 2 to 3 times faster – perhaps even more.
Although not definitive, I think that’s fairly reassuring. Next time, I’ll post a copy of the code for you to play around with, and you can tell me if you see similar results.