public function view() { if($this->request->is('post')) { $data = $this->request->data['HashAlgorithm']; $this->log($data); $this->redirect(array('controller' => 'HashResults' ,'action' => 'inputPlaintext', $data)); } $conditions = array( 'fields' => array('name'), 'order' => array('name ASC') ); $this->Session->destroy(); $data = $this->HashAlgorithm->find('all', $conditions); $this->set('data', $data); } /** * in HashResult controller */ public function inputPlaintext() { // how do I access $data. }