-
Notifications
You must be signed in to change notification settings - Fork 120
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
hard coded session expiry #169
Comments
The comment on that same line explains it. Also the git commit message (colinmollenhour/php-redis-session-abstract@8b94600). |
yes there is comment but our expiration has to come from cookie management or from local.xml , max lifetime. this is something hardcoded and should not be 3600*6. this does not seem to be right setting 5hrs for it please explain |
The expiration is set one when the session is read, and then when the process is finished and the session is written the expiration will be set again, to the proper value. So this is just a temporary value. If it is not set at all then if the page had a fatal error the session would never expire causing it to waste storage. |
Hi @colinmollenhour , as per my investigation with this session expiry, it was never set to actual value. it was set to 3600*6 always. even in this place, I would suggest that it should be set to max_value or admin cookie value. please check again on this because it is not working as expected. |
It is working as expected for me.. E.g.:
The session is written by the |
Hi
this latest codebase , Cm_RedisSession , read having hardcoded 3600*6 redis key expiry .
why this is hardcoded? it should be taking from magento admin cookie lifetime or maxlifetime from local.xml
The text was updated successfully, but these errors were encountered: