Explore the community › Forums › Lectora Online › Lectora Online Questions & Answers › Does LectoraOnline WAIT for the LMS/LRS to respond? › Reply To: Does LectoraOnline WAIT for the LMS/LRS to respond?
Lectora handles this for you, the LMSSetValue() and LMSCommit() happen under the covers.
I’m guessing they want to make sure there is not a problem with the connection. In that case you can check the return from LMSCommit() which is the only indicator the course can check.
I am attaching a title in PKG (Lectora Online) format which shows how to put the return value from LMSCommit() into a variable, and then conditionally go to the next page. You could conditionally do different things if it fails.
You can import the title into any Lectora product.
If it were my course I would allow the user to print the certificate if they completed the course. Perhaps if it fails after three attempts, give them a message their score could not be recorded and some further instructions, then move them forward so they can print their certificate?