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

Document using sessions via DynamoDB #438

Open
mnapoli opened this issue Aug 28, 2019 · 6 comments
Open

Document using sessions via DynamoDB #438

mnapoli opened this issue Aug 28, 2019 · 6 comments

Comments

@mnapoli
Copy link
Member

mnapoli commented Aug 28, 2019

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 🤔

@aknosis
Copy link
Contributor

aknosis commented Sep 6, 2019

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.

@mnapoli
Copy link
Member Author

mnapoli commented Sep 13, 2019

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.

@jasonmccallister
Copy link
Contributor

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

@pmayet
Copy link

pmayet commented Feb 13, 2020

@mnapoli I can document with Laravel. Do you want that I make a PR in brefphp/examples ?

@mnapoli
Copy link
Member Author

mnapoli commented Feb 13, 2020

@mnapoli I can document with Laravel. Do you want that I make a PR in brefphp/examples ?

Yes that would be great!

@pmayet
Copy link

pmayet commented Feb 13, 2020

@mnapoli Done with PR brefphp/examples#11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants