symfony - How to store User Roles into the session -
i saw on every page user-object gets fetched again database. though user-object serialized correctly, thought because of relationship roles. how possible store information session? added roles property serialize function of user , added serializable interface roles.
Comments
Post a Comment