-
Notifications
You must be signed in to change notification settings - Fork 14
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
binary safe session persistence #33
binary safe session persistence #33
Conversation
38b706f
to
e304c55
Compare
e304c55
to
a1a0eac
Compare
ready for a review |
59b958f
to
4031818
Compare
4031818
to
fc97543
Compare
Works as advertised :) Was particularly interested in the transition of existing sessions once the new functionality is used. Tested with DynamoDB Local, see #34. Add the following code to $this->getRequest()->getSession()->set('foo', 'bar'); Use master branch. Visit
Switch to PR branch. Visit Read out existing session value (in controller or elsewhere): var_dump($this->getRequest()->getSession()->get('foo'));die(); Change the $this->getRequest()->getSession()->set('foo', 'baz'); Visit
Read out session value, observe new value: var_dump($this->getRequest()->getSession()->get('foo'));die(); |
FIX AWS SDK PHP DynamoDb StandardSessionConnection handles serialized sessions as strings, which is not binary safe
fixes #32