src/Session.php
public static function start()
    {
        /*
            session_id() will continue to return id even after session_write_close()
        */
        if (\session_status() === PHP_SESSION_ACTIVE) {
            return true;
        }
        if (\headers_sent()) {
            return false;
        }
        self::setCfg(array());  // makes sure all default's determined and set
        $success = \session_start();
        \bdk\Debug::_info('started', \session_id());
        if (self::$cfgStatic['regenOnStart']) {
            self::regenerateId();
        }
        return $success;
    }
public static function start()
    {
        /*
            session_id() will continue to return id even after session_write_close()
        */
        if (\session_status() === PHP_SESSION_ACTIVE) {
            return true;
        }
        if (\headers_sent()) {
            return false;
        }
        self::setCfg(array());  // makes sure all default's determined and set
        $success = \session_start();
        \bdk\Debug::_info('started', \session_id());
        if (self::$cfgStatic['regenOnStart']) {
            self::regenerateId();
        }
        return $success;
    }
public static function start ( ) { /*
            session_id() will continue to return id even after session_write_close()
        */ if ( \ session_status ( ) === PHP_SESSION_ACTIVE ) { return true ; } if ( \ headers_sent ( ) ) { return false ; } self :: setCfg ( array ( ) ) ; // makes sure all default's determined and set $ success = \ session_start ( ) ; \ bdk \ Debug :: _info ( 'started' , \ session_id ( ) ) ; if ( self :: $ cfgStatic [ 'regenOnStart' ] ) { self :: regenerateId ( ) ; } return $ success ; }
Start session if it's not already started

@return boolean
Start session if it s not already started