Forum Discussion
StevenCroft-edb
4 years agoCommunity Member
Saving variables for re-launch
Hello, I can't believe I haven't come across this before, but it seems variables get set to their default state on a course re-launch. Is that expected?
I've tried variables and according to an ob...
MarkLentz
4 years agoCommunity Member
Is it possible that using Javascript for something like this command would save all variables when it is run?
LMSCommit( “” ) : bool – Indicates to the LMS that all data should be persisted (not required)
As an aside, I did not initially realize that if you set the Resume feature to "Prompt User" and the user chooses "Restart", that flushes all their variables. So I set it to "Always Resume"!
- PhilMayor4 years agoSuper Hero
Variable values are saved in the bookmarking data which is updated when you jump slides. I would suspect if LMS commit causes the bookmark to be refreshed it will only send the bookmark for the previous slide.
Sent from my iPhone