public static function start( $path = '' , $lifetime = 0 ) {

        if ( self::$sessionState === self::SESSION_NOT_STARTED ) {

            if ( empty( $path ) ) {
                $sub  = array( 'inc' );
                $url  = parse_url( get_current_url() );
                // we add a string on bottom to manage urls like these
                // - http://niania/blahblah/pimpmylog/
                // - http://niania/blahblah/pimpmylog/index.php
                // So they become
                // - http://niania/blahblah/pimpmylog/fake
                // - http://niania/blahblah/pimpmylog/index.phpfake
                $path = dirname( $url[ 'path' ] . 'fake' );
                // Now remove all identified subfolders
                if ( in_array( basename( $path ) , $sub ) ) {
                    $path = dirname( $path );
                }
            }

            session_set_cookie_params( $lifetime , $path );

            self::$sessionState = self::SESSION_STARTED;

            return session_start();
        }

        return true;
    }