Skip to main content
New Participant
August 28, 2018
Question

Lost Internet Alert

  • August 28, 2018
  • 4 replies
  • 1240 views

We have learners losing Internet and still completing the course because it is preloaded. They think they are done only to have the LMS later tell them they aren't. Is there a way to alert the user when they lose internet connection? Or a way for a course to re-establish a connection to an LMS after Internet is restored? Or a way to keep the course from pre-loading? Thanks!

    This topic has been closed for replies.

    4 replies

    chrismay_at_delta6226261
    Inspiring
    November 9, 2018

    It is under Quiz Preferences > Advanced, there is a "Send Data On Every Slide" check box.

    Known Participant
    November 9, 2018

    Hiya, thank you for coming back to me.  It was actually this code I was asking about. Can you tell me where I insert this please :-)

    var LMSInfo=0;

    try{

      LMSInfo = SCORM_CallLMSGetValue("cmi.core.student_id");

      if(LMSInfo==0 || LMSInfo=="" || LMSInfo===null){

         cpCmndGotoSlideAndResume=xx;

      }

    }catch(err){

      cpCmndGotoSlideAndResume=xx;

    }

    replace the xx in tcpCmndGotoSlideAndResume=xx; with the slide number you want to jump to, that will display a message about lost connectivity.

    Many thanks

    Janet

    Known Participant
    January 29, 2019

    OK.  Have you tried testing this in SCORM Cloud?


    Hi Rod

    No I haven't, I've just set up an account and have uploaded the SCORM file, it runs fine, but how do I replicate it having lost internet connection. If I disconnect my wifi I get a system error message not the one in my captivate file?

    Sorry, not used this before!!

    Many thanks

    Janet

    chrismay_at_delta6226261
    Inspiring
    August 29, 2018

    You might also try turning on the "send data on every slide." I dont know if Captivate has any built-in warning if it loses contact with the LMS.

    New Participant
    August 29, 2018

    We had already tried that. Unfortunately, Captivate doesn't automatically return any messages if the communication with the LMS is unsuccessful.

    chrismay_at_delta6226261
    Inspiring
    August 29, 2018

    Here is some JS code:

    var LMSInfo=0;

    try{

      LMSInfo = SCORM_CallLMSGetValue("cmi.core.student_id");

      if(LMSInfo==0 || LMSInfo=="" || LMSInfo===null){

         cpCmndGotoSlideAndResume=xx;

      }

    }catch(err){

      cpCmndGotoSlideAndResume=xx;

    }

    replace the xx in tcpCmndGotoSlideAndResume=xx; with the slide number you want to jump to, that will display a message about lost connectivity.

    New Participant
    August 29, 2018

    Thank you so much! It looks like this could be what we need!

    chrismay_at_delta6226261
    Inspiring
    August 29, 2018

    You could do this with some JS. Either query the LMS on every screen, and if you don't get a response, then direct the user to a slide saying the connection to the LMS was lost.

    Or you could query the LMS on the last screen, but, as a user, i'd not want to waste my time getting to the end only to find out i'll need to start over.