Forum Discussion
SuzanneWhite1
13 years agoCommunity Member
Pass Variables Between Lessons
Hi,
I am new to e-learning and am wondering how to pass variables between lessons in my LMS.
My course layout:
- Students take an assessment at beginning of course
- Depending on outcome of...
JosephBaiocc082
5 years agoCommunity Member
Not a perfect solution, but you can use the learner's browser cache (via JS localStorage) to store variables (with the learner's knowledge/permission) that can be accessed by another published SL file.
This allows you to talk between files. However, in the interests of security, I would not allow user-inputted text variables to be passed between files. Only variables the learner can't manipulate.
It's also important to let the learner know that clearing their cache will delete their stored info.
Related Content
- 10 months ago
- 12 months ago
- 12 months ago
- 12 months ago
- 12 months ago