Better Session API
The current session API is not very satisfying:
- We use the same method to create and update a session (getApacheSession) which leads to bugs when $id is unexpectedly
undef
, or when creation works but setting attributes fail - Error reporting is difficult (we need to test
$session->error
) and incomplete (#2995) - Locking is not supported in most backends, which may cause bugs on high load
- Implementation is difficult to debug (use of
tie
behind the scenes, etc)
We should work on a new session API with cleaner methods, maybe we could even replace Apache::Session completely since I'm pretty sure noone uses Apache::Session::Browseable except for us, and Browseable backends are the recommended way to deploy LemonLDAP::NG ?