-
Notifications
You must be signed in to change notification settings - Fork 193
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
PHP 7.3 memcache stored sessions issue #16
Comments
Hi @nikolasr200, |
Unfortunately i don't have a test file, I m using Yii framework and you can easily notice that after log in you soon find yourself logged out, with session acting like it's been lost. In rare cases, after a couple of refreshes it seems as if it has recovered the session, and logs you back in, only to log you out again, if you continue, browsing / refreshing. As i mentioned in the previous comment, we are currently facing this issue in two different machines, and various different projects that use memcache for session handling. |
How do you set memcache as the session handler in PHP ? |
In my php.ini , typically i use this setup flawlessly, in php5.6 and 7.2
and on the framework i define cache component in the configuration of the application
and session component to use cache component
This setup came from a yii1 application but similar setup i have on yii2 application as well. Yesterday, i was playing around with memcache config, and some times i would manage to have session maintained for little longer, other times shorter period. but all of the times sooner or later i ended up losing session and getting logged out unexpectedly |
what are the values of |
on my php.ini php 7.2 same on my php 7.3 as well
tried also
with no luck |
... I just ask all of this to understand where is the problem in your setup because I use memcache for php sessions handled with prepend_file and a single local memcached server |
Hi, sorry for the late reply, yes i tried the |
Just a follow up, my memcached.exe (according to details tab is 1.2.6 Danga Interactive) |
Hi, |
https://github.com/memcached/memcached/blob/master/ChangeLog 2008-07-29 ^^ |
Tested with https://github.com/nono303/memcached , makes no difference at all. edit: |
Opened a thread over wampserver as well http://forum.wampserver.com/read.php?2,157041 but they don’t seem to identify it as a wampserver issue |
Hi, just an update, |
Ok, thanks for the feedback! |
Hi,
i've upgraded my wamp installation to 7.3 from 7.2 Since upgrading to 7.3 and using vc15/ts/x64 memcache i notice incosinstency in sessions, as if the get lost, or unable to retrieve across requests, but they do seem to appear randomly across some requests! This issue was not present in 7.2
It seems kind of what is described over here #15, but now quite sure, since in my case is session stored values.
Not sure if it is related to this build, or if someone could give a hint on what else could be the cause.
The text was updated successfully, but these errors were encountered: