Bug 1653: $::form erst zerstören nachdem die sessions up-to-date sind.
authorSven Schöling <s.schoeling@linet-services.de>
Tue, 17 May 2011 08:29:30 +0000 (10:29 +0200)
committerSven Schöling <s.schoeling@linet-services.de>
Tue, 17 May 2011 08:29:30 +0000 (10:29 +0200)
SL/Dispatcher.pm

index 47c2e2a..df8cc83 100644 (file)
@@ -231,13 +231,14 @@ sub handle_request {
   };
 
   # cleanup
+  $::auth->expire_session_keys->save_session;
+  $::auth->expire_sessions;
+  $::auth->reset;
+
   $::locale   = undef;
   $::form     = undef;
   $::myconfig = ();
   Form::disconnect_standard_dbh;
-  $::auth->expire_session_keys->save_session;
-  $::auth->expire_sessions;
-  $::auth->reset;
 
   $::lxdebug->end_request;
   $::lxdebug->leave_sub;