Cover of the book Symfony 5: The Fast Track

Symfony 5: The Fast Track is the best book to learn modern Symfony development, from zero to production. +300 pages showcasing Symfony with Docker, APIs, queues & async tasks, Webpack, SPAs, etc.

New in Symfony 5.2: Session profiling

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:

Symfony session profiling in the web debug toolbar

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:

Symfony session profiling in the profiler
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

Nice one !
Thanks @Mathias
👍👍 @Mathias
Thanks !
It's perfect ! Thanks @Mathias
Nice Mathias ! :)

Comments are closed.

To ensure that comments stay relevant, they are closed for old posts.