Akelos Framework v1 forum archive. This forum is no longer maintained. To report bugs please visit https://github.com/akelos/akelos/issues
    • CommentAuthorjervis
     

    $this->flash['notice'] = $result['ErrMsg'];

    $this->renderAction("login");

    The flash content cannot display, how to send this flash's content to the Action Class, thank you :)

    •  
      CommentAuthorbermi
     

    Flash will be shown on the next Request, flash_now on the same Request.

    renderAction() does not start a new request, it simply delegates the response to a different action

    $this->flash_now['notice'] = $result['ErrMsg'];
    

    will work in your case.