Skip to content

[HttpFoundation] Add a flag to hasSession to distinguished session from factory #42900

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

Merged
merged 1 commit into from
Sep 6, 2021

Conversation

jderusse
Copy link
Member

@jderusse jderusse commented Sep 6, 2021

Q A
Branch? 5.4
Bug fix? no
New feature? yes
Deprecations? no
Tickets -
License MIT
Doc PR -

can be leveraged in SessionListeners and prevent generating a new session when calling $request->hasSession() && $request->getSession()

@carsonbot carsonbot changed the title Add a flag to hasSession to distinguished session from factory [HttpFoundation] Add a flag to hasSession to distinguished session from factory Sep 6, 2021
@derrabus
Copy link
Member

derrabus commented Sep 6, 2021

Thank you Jérémy.

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.

4 participants