From 6989c75c1e28bd2908e4ad052e847ce1ee9fe806 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Oudot?= Date: Thu, 10 Jan 2013 14:49:05 +0000 Subject: [PATCH] Force Session ID field before calling DESTROY in SOAP session backend (#553) --- lemonldap-ng-handler/lib/Lemonldap/NG/Handler/Simple.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/Simple.pm b/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/Simple.pm index cc432be68..d676563aa 100644 --- a/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/Simple.pm +++ b/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/Simple.pm @@ -907,6 +907,9 @@ sub retrieveSession { # Update the session to notify activity, if necessary $h{_lastSeen} = time() if ($timeoutActivity); + # Set _session_id key + $h{_session_id} = $id; + # Store data in current shared variables $datas->{$_} = $h{$_} foreach ( keys %h );