Scenario 2


Your Code

function onUnloadAction()
{
     // exit the application but keep the state of the learner activity
     SetValue( "cmi.exit","" );

     // terminate the activity session
     Terminate( "" );
}


Code Example

function onUnloadAction()
{
     // exit the application but keept he state of the learner activity
     SetValue( "cmi.exit","suspend" );

     // terminate the activity session
     Terminate( "" );
}