We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Secure Cookies - Form Failures

How Do I?

Sobral's avatar
Sobral
86 posts
about 4 years ago
Sobral's avatar Sobral

Same thing here!

$config['cookie_domain'] = $domain;
$config['cookie_prefix'] = 'ma_';
$config['cookie_samesite'] = 'Srict';
// $config['cookie_secure'] = 'y';

I gonna try to debug it!

       
xcl's avatar
xcl
104 posts
about 4 years ago
xcl's avatar xcl

Could it be your use of Srict instead?

I have noticed that when I set cookie_secure at the site level in the config file, it doesn’t seem to set one at all.

Only when I comment it out does it then set which then doesn’t work on forms.

       
xcl's avatar
xcl
104 posts
3 years ago
xcl's avatar xcl

I’ve double-checked this on a new server, new install, basic one page site, same behaviour.

There is definitely something wrong with secure cookies being set.

       
Sobral's avatar
Sobral
86 posts
3 years ago
Sobral's avatar Sobral

Andy, is Yuri aware of that? Isn’t he working on the cookies?

       
xcl's avatar
xcl
104 posts
3 years ago
xcl's avatar xcl

Actually posted at https://github.com/ExpressionEngine/ExpressionEngine/issues/1135 as verified it as a bug when secure is set, no cookies are generated.

Thought that may be the better place for it.

       
Andy McCormick's avatar
Andy McCormick
183 posts
3 years ago
Andy McCormick's avatar Andy McCormick

Nice. Looks like there’s already been a fix merged in for release with 6.1. @XCL, if you have a chance you might want to try to merge this PR locally and see if it resolves your issue. https://github.com/ExpressionEngine/ExpressionEngine/pull/1009

       
xcl's avatar
xcl
104 posts
3 years ago
xcl's avatar xcl

Unfortunately, this didn’t make any difference with secure cookies. They stopped being generated when enabled.

       
1 2

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.