php-debugbar icon indicating copy to clipboard operation
php-debugbar copied to clipboard

Disable session stack

Open stephan-v opened this issue 9 years ago • 3 comments

How can I disable the the PHPDEBUGBAR_STACK_DATA from showing up in my session? I am currently not using it at all.

stephan-v avatar Jan 24 '17 11:01 stephan-v

Are you using stacked data? Or which framework?

barryvdh avatar Jan 24 '17 13:01 barryvdh

Incorperated this in my own framework for which we are currently not using stacked data.

stephan-v avatar Jan 25 '17 09:01 stephan-v

This probably happens because DebugBar::hasStackedData() initiates the $_SESSION entry, even when it's not used. It's a small issue, but it's still unneeded clutter. I guess we could cleanup the key once the debugbar is rendered.

igorsantos07 avatar Jan 13 '20 05:01 igorsantos07