UpdateEvalState

If a publication is set to use the "number of minutes used" evaluation method. The example function below could be called from a timer action every 60 seconds to make the publication timeout once the evaluation period has been exceeded.

function UpdateEval()
{
 UpdateEvalState();

 if (PUBLICATION_EVALUATION < 0)
 {
  // Timed out!
  GotoPage( "MyExpiredPage" );
 }
}

Close