Skip to content

[Framework Bundle] Allow to configure PSR6 cache for session #23323

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from

Conversation

Nyholm
Copy link
Member

@Nyholm Nyholm commented Jun 28, 2017

Q A
Branch? 3.4
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets
License MIT
Doc PR On the way

This is blocked by #23321

We should allow a easy way to configure PSR6SessionHandler.

This will give some new options

framework:
      session:
          handler_id:  'session.handler.psr6'
          psr6_service: 'cache.app' # Required
          psr6_prefix: 'foobar' 
          psr6_ttl: 86400

We will throw an exception if you are trying to use psr6_* options without handler_id: 'session.handler.psr6'

@Nyholm Nyholm closed this Jul 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants