-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
PdoSessionHandler session namespacing issue #12954
Comments
Save handlers as the PdoSessionHandler don't know anything about session namespaces. So these are not related. Can you clarify your report please or provide a way to reproduce your issue? |
Hmmmm. Well, I guess then the real issue is that, every time I implement the PdoSessionHandler in my code, session namespacing stops working. If I remove the configuration for the PdoSessionHandler it begins working again. I'm specifically experiencing this issue during form submission. All of my forms fail to validate because the CSRF token is invalid (as it is not being found in the session). |
Which database are you using? |
MySql |
Which symfony version? |
2.6.1
|
I've the same problem. When I implements PDOSessionHandler on my symfony project (v2.6.3). All forms fail because the CSRF token is invalid. I have the problem with php5-fpm and hhvm. |
I am experiencing the same issue with Symfony 3.3. I have some of the same dependencies as jspizziri. Such as friendsofsymfony/rest-bundle, friendsofsymfony/user-bundle, and vich/uploader-bundle. Perhaps its a bug in one of the dependencies that's causing the issue. |
Could anyone provide a reproducer based on the standard edition? |
I am going to close here for now due to the lack of feedback. Please let us know when you have more information and we can consider to reopen. |
Session namespacing doesn't seem to work with the PdoSessionHandler.
Specifically this can be seen occurring on forms with CSRF tokens, as csrf tokens are stored using namespaces.
The text was updated successfully, but these errors were encountered: