-
-
Notifications
You must be signed in to change notification settings - Fork 366
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
Document using sessions via DynamoDB #438
Comments
I implemented sessions in a bref http project with the steps noted in that post. There really isn't much to it, you enable it and it just works. What steps do you think bref could simplify though? To me it seems like this would be a documentation / suggested use case but really not anything bref should be in charge of. |
That's good to know thanks. Maybe just a documentation could be enough. I haven't needed this I usually use a framework. What we should document should address Symfony, Laravel and the "no framework" cases. |
AWS has a nice write up on their docs for using DynamoDB with PHP session that might be helpful: https://docs.aws.amazon.com/sdk-for-php/v3/developer-guide/service_dynamodb-session-handler.html |
@mnapoli I can document with Laravel. Do you want that I make a PR in brefphp/examples ? |
Yes that would be great! |
@mnapoli Done with PR brefphp/examples#11 |
There is this great article on using DynamoDB for storing PHP sessions: https://medium.com/five-words/simple-session-handling-for-load-balanced-php-applications-494cfb3aa6e7
I think we can simplify some steps in Bref, and we could document it. Not sure if this would be the best way to do when using a PHP framework though 🤔
The text was updated successfully, but these errors were encountered: