public static function pageSet(string $name, $value, ?string $page = null): void
    {
        if ($page === null) {
            $page = $_SERVER['PHP_SELF'];
        }
        self::set($name, $value, $page);
    }
public static function pageSet(string $name, $value, ?string $page = null): void
    {
        if ($page === null) {
            $page = $_SERVER['PHP_SELF'];
        }
        self::set($name, $value, $page);
    }
public static function pageSet ( string $ name , $ value , ? string $ page = null ) : void { if ( $ page === null ) { $ page = $ _SERVER [ 'PHP_SELF' ] ; } self :: set ( $ name , $ value , $ page ) ; }
Set session-variable by page-filename.

@param string $name
@param mixed $value
@param string $page Default null which means current page PHP_SELF.
Set session - variable by page - filename .