SessionsEdit this page
Warning: You are browsing the documentation for Symfony 4.0, which is no longer maintained.
Read the updated version of this page for Symfony 7.0 (the current stable version).
Symfony provides a nice session object that you can use to store information about the user between requests.
To see how to use the session, read Controller.