https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37041 --- Comment #12 from David Cook <dcook@prosentient.com.au> --- (In reply to Jonathan Druart from comment #9)
Should we consider setting the session id in the L1 (actually in the userenv) so that we could have access to the current session id. So if a new one has been generated and is different than the one in the cookie of the request we can access it easily?
I'm not aware of the exact code problem, but this sounds all right to me. If it were a MVC like Catalyst/Mojo, we'd have something like $c->user or $c->session, so C4::Context->userenv is probably our next best thing (for now)? One day we'll move away from CGI scripts (even ones wrapped with Plack::App::CGIBin)... -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.