Scenario 2
function onUnloadAction()
{
// exit the application but keep the state
of the learner activity
SetValue( "cmi.exit","
" );
// terminate the activity session
Terminate( "" );
}
function onUnloadAction()
{
// exit the application but keept he state
of the learner activity
SetValue( "cmi.exit","suspend"
);
// terminate the activity session
Terminate( "" );
}