/** * Reads and deletes a session value for a key. * * In your view: `$this->Session->consume('Controller.sessKey');` * * @param string $name the name of the session key you want to read * @return mixed values from the session vars */ public function consume($name) { return CakeSession::consume($name); }