public function getRememberSession($forceStart = FALSE)
    {
        $presenter = $this->getPresenter();
        $session = $presenter->getSession();

        if (!$session->isStarted() && $forceStart) {
            $session->start();
        }

        return $session->isStarted()
            ? ($session->getSection($this->rememberStateSectionName ?: ($presenter->name . ':' . $this->getUniqueId())))
            : NULL;
    }
public function getRememberSession($forceStart = FALSE)
    {
        $presenter = $this->getPresenter();
        $session = $presenter->getSession();

        if (!$session->isStarted() && $forceStart) {
            $session->start();
        }

        return $session->isStarted()
            ? ($session->getSection($this->rememberStateSectionName ?: ($presenter->name . ':' . $this->getUniqueId())))
            : NULL;
    }
public function getRememberSession ( $ forceStart = FALSE ) { $ presenter = $ this -> getPresenter ( ) ; $ session = $ presenter -> getSession ( ) ; if ( ! $ session -> isStarted ( ) && $ forceStart ) { $ session -> start ( ) ; } return $ session -> isStarted ( ) ? ( $ session -> getSection ( $ this -> rememberStateSectionName ? : ( $ presenter -> name . ':' . $ this -> getUniqueId ( ) ) ) ) : NULL ; }
Returns remember session for set expiration, etc.
@param bool $forceStart - if TRUE, session will be started if not
@return \Nette\Http\SessionSection|NULL
Returns remember session for set expiration etc .