[ad_1]
I'm creating a multi step form in Symfony 3.3 where I save the form data each step to a session. The entity of the form also has the user as form property. When the user is added to the entity, all data is saved correctly to the session. But when I submit the form and then load the data from session again, most of the data of the user (as form property of entity) is gone. Only the username, id is in session, all other variables of the user (firstName, lastName, email, ...) is NULL. It is the same when I save only the user to the session. Is there something which I have to do after saving the user to session? Why is the data of the user lost after reloading the page?
Thanks and best!
[ad_2]
لینک منبع