Not signed in (Sign In)

Vanilla 1.1.5a is a product of Lussumo. More Information: Documentation, Community Support.

  1.  
    When a user takes a quiz, I would like to save the number of attempts for the ability to retry the quiz before completing it. By saving the attempts in the scorm api i could resume the attempts if the user closes in the middle of the quiz. Thanks for any help.

    *My default is to save it in suspend data and it would work if resuming on a quiz... but 2004 no throws an error if trying to read suspend data thats not set... so not sure right now.
    • CommentAuthorphilip
    • CommentTimeOct 30th 2008
     
    actually, i would use the suspend_data approach, just as you suggested; you just have to be careful about when/how you make your calls. i've never had any problems requesting suspend_data when it's empty, but your code needs to be configured to deal with a null result (empty string). if it isn't, you'll get an error.

    you also need to be sure to save suspend_data when exiting in 2004; see my journal entry for more details.

    - philip