Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork5.3k
[WIP] Added DBAL session storaged based on PDO Session storage page#3914
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Tobion commentedJun 6, 2014
I don't think having a cookbook for each makes sense because so much duplication. Instead both should be merged and the title more general. |
weaverryan commentedJun 7, 2014
Hi Joaquín! Thanks very much for adding this! I agree with@Tobion that we should modify the existing cookbook entry and add details on how you would use the DBAL to it. We can certainly change its title to be more generic. What do you think? Thanks! |
xocasdashdash commentedJun 8, 2014
I completely agree. I'll mix my changes into the old file. |
xabbuh commentedJun 10, 2014
Sounds good to me. Though, according to our standards it should be written "How to Store Session in the Database". |
wouterj commentedSep 16, 2014
ping@xocasdashdash Can you please update this PR? (if you don't have time, feel free to say so, then somebody else will take it over from you) |
xocasdashdash commentedSep 16, 2014
I will get on it this week and deliver an update by Saturday. 2014-09-16 15:03 GMT+02:00 Wouter Jnotifications@github.com:
Joaquín Fernández Campo |
xocasdashdash commentedSep 27, 2014
ping@wouterj . Any news on these? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
You would need to remove the "use".
weaverryan commentedOct 17, 2014
@xocasdashdash Sorry for the delay! I've just added some feedback :). Cheer! |
xocasdashdash commentedOct 18, 2014
No worries! |
wouterj commentedOct 18, 2014
@xocasdashdash you can't (we're working on that). You can however install python and sphinx locally and render it using a default sphinx theme. Seehttp://symfony.com/doc/current/contributing/documentation/overview.html for more information. And if you rebase ( |
wouterj commentedOct 31, 2014
Ping? |
xocasdashdash commentedNov 2, 2014
I'm gonna work on some of the changes proposed by@weaverryan, I agree with most of them, and squash the different commits into one |
Tobion commentedNov 2, 2014
FYI, in master (upcoming 2.6) the enhancements for PdoSessionHandler (symfony/symfony#10931) are not yet implemented for DoctrineSessionHandler. So currently they are quite different in terms of feature set. |
xocasdashdash commentedNov 2, 2014
@Tobion mmm I see there's quite a bit of discussion on that thread. I'm thinking of how to add this info here, but as@weaverryan said, choices suck unless we can help them decide. |
wouterj commentedNov 4, 2014
yes, I agree |
xocasdashdash commentedNov 8, 2014
Ok, I'll rework@weaverryan last proposal changes into the docs |
wouterj commentedDec 28, 2014
@xocasdashdash can you please update this PR? The DbalSessionHandler has not been updated for 2.6. So I believe the recommendation is now to use the PdoSessionHandler. |
xocasdashdash commentedDec 30, 2014
I won't be able to until the 15th or so of this month. Is that workable? |
xabbuh commentedDec 30, 2014
@xocasdashdash Of course, we know that everyone does the work on the docs in their spare time. We are really looking forward to see you back soon. However, feel free to ping us if you think you won't have the time and we'll find someone who finishes your great work. |
xabbuh commentedMar 8, 2015
@xocasdashdash Do you think you can finish this? :) |
xocasdashdash commentedMar 8, 2015
@xabbuh Ok! If i don't finish it this week don't hesitate on rejecting/closing it and assigning it to somebody else! |
xocasdashdash commentedMar 9, 2015
@xabbuh Ok, I think i'm finished, how can I check that everything's correct format wise? How should I proceed? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
can you please remove on of these 2 empty lines?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Ok
wouterj commentedMar 9, 2015
@xocasdashdash I've just added some formatting comments. If you fix those, you should be ready to go. There is also a merge conflict, can you please rebase onto 2.3 (As that's the branch where this PR is going to be merged into). Assuming If you've solved the conflict, this PR can also be build by Travis, which checks for syntax errors. Btw, why did you create a |
- Added an entry into the redirection_map
xocasdashdash commentedMar 15, 2015
@wouterj I've tried to fix the merge conflicts, but I can't seem to get it right 😕 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Sessions
xabbuh commentedMar 21, 2015
@xocasdashdash To be build on Travis, your pull request has to be rebased onto the branch you want to merge in ( |
wouterj commentedMay 15, 2015
Do you have time to update your PR? We have adoc sprint day on May 23rd and we would like to finish as much PRs as possible before/during that PR. Don't worry if you have no time soon, we know it's all freetime work.@javiereguiluz already started a new PR without knowing this PR existed:#5019 you can also comment on that PR with some details that you think are missing from his PR and close this PR. If you need any help, you can almost always find one of us on the #symfony-docs IRC freenode channel. Thanks! |
xocasdashdash commentedMay 24, 2015
@wouterj I've checked@javiereguiluz PR and it looks fine by me. I'm gonna close down this PR then! |
I added a quick reference tohttps://github.com/symfony/symfony/blob/2.1/src/Symfony/Bridge/Doctrine/HttpFoundation/DbalSessionHandler.php basing it almost completely on the PDO Session handler
I'm merging it into this branch, even though it's not mantained anymore, because this is where this option became available to use for session storage