Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MY_Session.php creates error (HMAC mismatch) (StackOverflow solution exists) #126

Open
cwingrav opened this issue Mar 20, 2015 · 2 comments
Assignees
Milestone

Comments

@cwingrav
Copy link

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 StorytellerCZ added this to the 1.x milestone Mar 20, 2015
@StorytellerCZ
Copy link
Collaborator

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
Copy link
Author

Just as long as it gets updated. I don't care who gets the credit. Thanks for responding quickly too!

@StorytellerCZ StorytellerCZ self-assigned this Mar 25, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants