silverstripe-dynamiccache icon indicating copy to clipboard operation
silverstripe-dynamiccache copied to clipboard

Sessions not being created - cannot login to website

Open jonom opened this issue 6 years ago • 2 comments

Running master on SS3.7 / PHP5.6 I'm unable to login to the website. Reverting this commit seems to fix the issue. I tried to follow the code and understand why this is the case but I couldn't work it out 🤷‍♂️. As noted in the pull request it would seem to follow the same pattern as main.php but seems something is getting lost along the way.

To replicate, make sure dynamic caching is activated in .htaccess, delete cookies for the website (if PHPSESSID exists already login will work), then try to access a protected URL like /admin. After filling out the log in form I'm simply redirected back to the same form, unfilled.

jonom avatar Feb 08 '19 18:02 jonom

I can confirm that I am seeing this as well on a SS 3.7 / PHP 7.1 install.

mlewis-everley avatar Feb 20 '20 16:02 mlewis-everley

We can revert that commit maybe.

tractorcow avatar Feb 23 '20 21:02 tractorcow