New in Symfony 5.2: Session profiling

Warning: This post is about an unsupported Symfony version. Some of this information may be out of date. Read the most recent Symfony Docs.
Contributed by
Mathias Arlaud
in #36364.
The Symfony profiler is a powerful development tool that gives you detailed information about the execution of any request. In Symfony 5.2 we've improved it with session profiling, which displays all the information related to the session of the current request.
First, the debug toolbar now tells you if the current page is using the session or not and the if the session check was stateless:

In addition, the profiler now displays a new section called Session in the Request/Response panel. It displays the session metadata (e.g. creation date, lifetime, etc.), the session attributes names and values, and the full details of all session usages, including PHP backtraces:

Help the Symfony project!
As with any Open-Source project, contributing code or documentation is the most common way to help, but we also have a wide range of sponsoring opportunities.
Comments
Comments are closed.
To ensure that comments stay relevant, they are closed for old posts.
Thanks @Mathias