public function redirectWith($url, $data)
    {
        $this->_session->flash('redirect_data', $data);
        $this->redirect($url);
    }
public function redirectWith($url, $data)
    {
        $this->_session->flash('redirect_data', $data);
        $this->redirect($url);
    }
public function redirectWith ( $ url , $ data ) { $ this -> _session -> flash ( 'redirect_data' , $ data ) ; $ this -> redirect ( $ url ) ; }
Redirects to a URL with data passed in as a temp flash session.

@param string $url  - Redirection's URL
@param mixed  $data - Data to redirect with

@return void
Redirects to a URL with data passed in as a temp flash session .