code/libraries/joomlatools/library/user/session/abstract.php
public function start()
    {
        if (!$this->isActive())
        {
            //Make sure we have a registered session handler
            if (!$this->getHandler()->isRegistered()) {
                $this->getHandler()->register();
            }

            session_cache_limiter('none');

            if (ini_get('session.use_cookies') && headers_sent()) {
                throw new RuntimeException('Failed to start the session because headers have already been sent');
            }

            if (!session_start()) {
                throw new RuntimeException('Session could not be started');
            }

            //Re-load the session containers
            $this->refesh();

            // Destroy an expired session
            if ($this->getContainer('metadata')->isExpired()) {
                $this->destroy();
            }
        }

        return $this;
    }
public function start()
    {
        if (!$this->isActive())
        {
            //Make sure we have a registered session handler
            if (!$this->getHandler()->isRegistered()) {
                $this->getHandler()->register();
            }

            session_cache_limiter('none');

            if (ini_get('session.use_cookies') && headers_sent()) {
                throw new RuntimeException('Failed to start the session because headers have already been sent');
            }

            if (!session_start()) {
                throw new RuntimeException('Session could not be started');
            }

            //Re-load the session containers
            $this->refesh();

            // Destroy an expired session
            if ($this->getContainer('metadata')->isExpired()) {
                $this->destroy();
            }
        }

        return $this;
    }
public function start ( ) { if ( ! $ this -> isActive ( ) ) { //Make sure we have a registered session handler if ( ! $ this -> getHandler ( ) -> isRegistered ( ) ) { $ this -> getHandler ( ) -> register ( ) ; } session_cache_limiter ( 'none' ) ; if ( ini_get ( 'session.use_cookies' ) && headers_sent ( ) ) { throw new RuntimeException ( 'Failed to start the session because headers have already been sent' ) ; } if ( ! session_start ( ) ) { throw new RuntimeException ( 'Session could not be started' ) ; } //Re-load the session containers $ this -> refesh ( ) ; // Destroy an expired session if ( $ this -> getContainer ( 'metadata' ) -> isExpired ( ) ) { $ this -> destroy ( ) ; } } return $ this ; }
Starts the session storage and load the session data into memory

@see  session_start()
@throws RuntimeException If something goes wrong starting the session.
@return $this
Starts the session storage and load the session data into memory