ExpressionEngine icon indicating copy to clipboard operation
ExpressionEngine copied to clipboard

Resolved #4227 where `expire_session_on_browser_close` config override was not always respected

Open intoeetive opened this issue 10 months ago • 4 comments

Resolved #4227 where expire_session_on_browser_close config override was not always respected

EE7 version of https://github.com/ExpressionEngine/ExpressionEngine/pull/4242

intoeetive avatar Apr 15 '24 11:04 intoeetive

Also... the more I think on it, the more I start to lean toward removing it entirely. We can manage the session cookie length in the cookie settings now, which I believe would keep it in line with the cookie consents. Which it... probably should be? Though granted, the setting can only make it more private, not less.

Weird that didn't fix it, though. But it definitely didn't for me.

robinsowell avatar Apr 15 '24 14:04 robinsowell

Right, you could just set the value to 0 and that will do it.

intoeetive avatar Apr 15 '24 14:04 intoeetive

@robinsowell upon further thinking, I think we still need to make override work for sake of upgraded sites.

Please check the new version I just pushed

intoeetive avatar Apr 16 '24 07:04 intoeetive

I'm not sure why, but it still doesn't seem to be working.

Screenshot 2024-04-22 at 1 26 55 PM

$config['expire_browser_on_session_close'] = 'y';

I tried logging into the backend, logging into the frontend- both running cookies only for session setting. Running EE 7.4.8, I even grabbed a fresh system/ee folder, then dropped the new file into that.

robinsowell avatar Apr 22 '24 17:04 robinsowell