public function run()
{
if (!$this->lastValue) {
$_SESSION['CHECKER_CHECK_SESSION'] = 'SUCCESS';
$this->ptc = 50;
$this->lastValue = "Y";
} else {
$this->lastValue = null;
$this->ptc = 100;
if ($_SESSION['CHECKER_CHECK_SESSION'] != 'SUCCESS') {
$this->addError(\Yii::t('skeeks/cms', 'Could not to keep the session'));
}
unset($_SESSION['CHECKER_CHECK_SESSION']);
}
}