Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Make Session caches persistent by default. #1390
The original reason NOT to do this was that the session contains serialized PHP objects, that would explode badly if those objects/properties change and the session is unserialized after. That problem still exists and IMHO it's a danger. I am open to still change it and people with this problem then need to flush the sessions as needed. Maybe we can at some point look into not serializing but just storing data and reinstancing stuff...
Indeed. That is a potential issue. But that is mostly an application/domain issue, no? ALAS, if the application stores a
If we had a proper serializer/object hydrator in place, we could make the behaviour more lenient/configurable (i.e. how to handle missing/success properties). Feature Request?