Before today, VuFind 2.0 stored a serialized user object in the session to indicate a logged-in status. This was problematic because the serialized object had dependencies that could not be serialized, requiring some complicated sleep/wakeup logic. This got even worse when trying to add PostgreSQL compatibility. Rather than make things more complicated and harder to maintain, I refactored so that we only store the ID in the session and retrieve the object on demand:
This is a fairly simple yet significant change. Please let me know if you run into any problems. Also note that if you are logged in and pull the latest code, you will get logged out. Probably not a big deal.
Get latest updates about Open Source Projects, Conferences and News.