src/Session/Revalidation.php
public static function resetRevalidationCounter(string $variableName = '_MF_SESSION_REVALIDATION_COUNTER_'): void
    {
        static::init();
        $variableName = (string)$variableName;
        $vHandler = Variables::getInstance();
        if ($vHandler->session->get($variableName, Variables::TYPE_INT) > 0) {
            $vHandler->session->set($variableName, 0);
            \session_regenerate_id(true);
        }
    }
public static function resetRevalidationCounter(string $variableName = '_MF_SESSION_REVALIDATION_COUNTER_'): void
    {
        static::init();
        $variableName = (string)$variableName;
        $vHandler = Variables::getInstance();
        if ($vHandler->session->get($variableName, Variables::TYPE_INT) > 0) {
            $vHandler->session->set($variableName, 0);
            \session_regenerate_id(true);
        }
    }
public static function resetRevalidationCounter ( string $ variableName = '_MF_SESSION_REVALIDATION_COUNTER_' ) : void { static :: init ( ) ; $ variableName = ( string ) $ variableName ; $ vHandler = Variables :: getInstance ( ) ; if ( $ vHandler -> session -> get ( $ variableName , Variables :: TYPE_INT ) > 0 ) { $ vHandler -> session -> set ( $ variableName , 0 ) ; \ session_regenerate_id ( true ) ; } }
Resets revalidation counter & regenerates session id

@param string $variableName
Resets revalidation counter & regenerates session id