Scenario 3


Your Code

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

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


Code Example

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

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