Http/Response.php
public function pass($key, $value)
    {
        if (!isset($this->_session))
            throw new \Exception('m\Http\Response: No session object available to flash "'.$key.'" to.');

        $this->_session->flash($key, $value);

        return $this;
    }
public function pass($key, $value)
    {
        if (!isset($this->_session))
            throw new \Exception('m\Http\Response: No session object available to flash "'.$key.'" to.');

        $this->_session->flash($key, $value);

        return $this;
    }
public function pass ( $ key , $ value ) { if ( ! isset ( $ this -> _session ) ) throw new \ Exception ( 'm\Http\Response: No session object available to flash "' . $ key . '" to.' ) ; $ this -> _session -> flash ( $ key , $ value ) ; return $ this ; }
Pass flash data to the next page.

@param string $key
@param mixed $value
@return \m\Http\Response
@throws \Exception
Pass flash data to the next page .