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

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

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

html - jQuery UI Sortable - Remove placeholder after item is dropped -