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

Popular posts from this blog

java - Andrioid studio start fail: Fatal error initializing 'null' -

android - Gradle sync Error:Configuration with name 'default' not found -

StringGrid issue in Delphi XE8 firemonkey mobile app -