CCALI / CALI-Author-Viewer-5

This is the repo for CALI Author's jQuery based lesson viewer
1 stars 1 forks source link

Refreshing browser can cause scores to stop tracking #147

Open sgoshorn opened 3 years ago

sgoshorn commented 3 years ago

Since session runid is cleared when lesson starts, if lesson is reloaded (browser refresh) the viewer starts with a blank runid. The lesson continues to run but scores are no longer linked to the student.

Only faculty should have the power to run a lesson without score tracking which happens when they jump to a page in the Viewer from LessonText.

Solutions:

  1. before lesson starts (1st time or browser reload), if detect student account with no runid, bounce out to warning page.
  2. after lesson is running and there's no runid, display a warning in the viewer. this might bug faculty but might make work since faculty would then know their LessonText excursion is not being recorded. And students would know to restart lesson correctly
emasters commented 2 years ago

@sgoshorn I like option 1, it seems most likely to keep students from losing work in the rare occasion this happens plus it won't bother faculty examining a Lesson from LessonText.