I have created a SCORM API for our LMS and right now I am using hard coded userID and courseID variables (variables that reference things in the database). I need to pass th
In Passing .NET Server-Side Data to JavaScript, I list various approaches, including:
You can also use HTTP cookies. That approach is nice if you need to pass values the other direction as well.
I am in the process of doing the same thing. I am just passing whatever values I may need upon initialization and such in the API object's constructor. I have not seen any requirements as to how the API object can be created, just how it is located in the SCO's code.