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 session-intro
.
session/sessions_directory session/avoid_session_start session/locale_sticky_session session/php_bridge session/proxy_examples
/doctrine/pdo_session_storage