From adf2c2d2936cd522563c659529f7e373b5ea7264 Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Sat, 6 Jan 2018 10:02:55 +0100 Subject: [PATCH] [symfony/framework-bundle] Enable session support by default --- .../framework-bundle/3.3/config/packages/framework.yaml | 8 ++++---- .../3.3/config/packages/test/framework.yaml | 5 ++--- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/symfony/framework-bundle/3.3/config/packages/framework.yaml b/symfony/framework-bundle/3.3/config/packages/framework.yaml index b32f52d9..1f9ba07b 100644 --- a/symfony/framework-bundle/3.3/config/packages/framework.yaml +++ b/symfony/framework-bundle/3.3/config/packages/framework.yaml @@ -4,10 +4,10 @@ framework: #csrf_protection: ~ #http_method_override: true - # uncomment this entire section to enable sessions - #session: - # # With this config, PHP's native session handling is used - # handler_id: ~ + # Enables session support. Note that the session will ONLY be started if you read or write from it. + # Remove or comment this section to explicitly disable session support. + session: + handler_id: ~ #esi: ~ #fragments: ~ diff --git a/symfony/framework-bundle/3.3/config/packages/test/framework.yaml b/symfony/framework-bundle/3.3/config/packages/test/framework.yaml index 8aa270e9..76d7e5e1 100644 --- a/symfony/framework-bundle/3.3/config/packages/test/framework.yaml +++ b/symfony/framework-bundle/3.3/config/packages/test/framework.yaml @@ -1,5 +1,4 @@ framework: test: ~ - # Uncomment this section if you're using sessions - #session: - # storage_id: session.storage.mock_file + session: + storage_id: session.storage.mock_file