Hi everyone. My current CakePHP website is hosted by AWS and everything is going well, except when the server auto scales and some token mismatches start coming up. My current sessions is configured to “Cake”, and check tmp/sessions I can see several sessions being created there.
When I try to replicate locally using a single server instance, I try and delete the tmp/sessions entries but the Csrf exception doesn’t get thrown, I see other odd behavior in the site from the missing session information, but no issue with the Csrf.
I’m using the Csrf component, not the middleware.
Any feedback is greatly appreciated. Thanks