this is how I did it : $this->redirect('validate_failed', 'Coupon', 'coupons', array('coupon' => $result, 'filename' => $filename, 'message' => 'Expired.')); avoiding the whole flashmessage thing and passing a coupon object as well.