-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[HttpFoundation] [PDO] Don't fetch time when reading the session #43120
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
Conversation
Currently, the SQL does not guarantee fixed names for the fetched columns in |
Looks like this breaks some tests. Maybe they were relying on the BC layer by storing the lifetime instead of the expiry ? |
Thanks for explanation, @stof. |
c9e1801
to
6111389
Compare
6111389
to
fb9508f
Compare
Thank you @IonBazan. |
…obion) This PR was merged into the 6.0 branch. Discussion ---------- [HttpFoundation] remove legacy session lifetime logic | Q | A | ------------- | --- | Branch? | 6.0 | Bug fix? | no | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Tickets | | License | MIT | Doc PR | symfony/symfony-docs#... <!-- required for new features --> This part was only relevant for keeping bc with the old lifetime data. Has been forgotten to be removed in #41334 and #43120 Commits ------- 54a578b [HttpFoundation] remove legacy session lifetime logic
Following up #33169 (comment)
BTW is there a reason we are using
FETCH_NUM
instead ofFETCH_ASSOC
for more readability?