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

    Like the title, in controller use it like this: "$this->session['user']=$this->User->findFirst(...... ?

    I have run script/migrate framework install

    Could it save the data to the database automatically?

    •  
      CommentAuthoradityamooley
     

    Supposing that you are using Database based sessions, yes, the session data will get saved to database automatically with the above statement.