src/Web/Sessions/Session.php
public function open()
    {
        if ($this->getIsActive()) {
            return \Reaction\Promise\resolve(true);
        }

        $this->registerSessionHandler();

        $self = $this;
        return $this->openInternal()->then(
            function() use ($self) {
                if (Reaction::isDebug()) {
                    //Reaction::info('Session started');
                }
                $self->updateFlashCounters();
            }
        );
    }
public function open()
    {
        if ($this->getIsActive()) {
            return \Reaction\Promise\resolve(true);
        }

        $this->registerSessionHandler();

        $self = $this;
        return $this->openInternal()->then(
            function() use ($self) {
                if (Reaction::isDebug()) {
                    //Reaction::info('Session started');
                }
                $self->updateFlashCounters();
            }
        );
    }
Starts the session.
@return ExtendedPromiseInterface