MY_Session.php creates error (HMAC mismatch) (StackOverflow solution exists)
Opened this issue · 2 comments
cwingrav commented
CodeIgniter had a patch to the _set_cookie function that is reproduced in the MY_Session.php class. It produces the error in the log file when encrypted sessions are used:
"Session: HMAC mismatch. The session cookie data did not match what was expected."
Updating the _set_cookie function to what this post says corrects this:
http://stackoverflow.com/questions/24121705/codeigniter-2-2-0-hmac-mismatch-error
StorytellerCZ commented
Thanks for the notice! Do you want to submit a PR to get the full credit for fix or do you want somebody else to do it?
cwingrav commented
Just as long as it gets updated. I don't care who gets the credit. Thanks for responding quickly too!