- Issue created by @perarg
- Assigned to Grevil
- 🇩🇪Germany Anybody Porta Westfalica
Thanks for the report. I'd also expect "0" (session duration) to work. We should add a test for that.
@Grevil will have a look asap and if there are any questions, contact me.
In the meantime, anyone may provide a MR or details to speed things up. - 🇩🇪Germany Grevil
Wow, that is really weird...
It even says in the description, "Set to 0 to expire with browser close."
Seems this feature broke at some point, and we simply had no test for this...But yes, I can reproduce this issue.
- Status changed to Needs work
10 months ago 1:42pm 5 March 2024 - 🇩🇪Germany Anybody Porta Westfalica
Probably this is the wrong line: https://git.drupalcode.org/issue/cookies-3343952/-/blob/3343952-expirati...
Guess the empty check is incorrect.
An cookie expiration of 0 (session duration) should be fine. But please test carefully.
- Merge request !107Issue #3343952 by Anybody, Grevil: Expiration to 0 doesn't create session cookie → (Merged) created by Grevil
- Assigned to Anybody
- Status changed to Needs review
10 months ago 2:07pm 5 March 2024 - Issue was unassigned.
- Status changed to Fixed
10 months ago 2:08pm 5 March 2024 Automatically closed - issue fixed for 2 weeks with no activity.