Sessions erst nach dem Request expiren.
authorSven Schöling <s.schoeling@linet-services.de>
Fri, 13 May 2011 11:23:51 +0000 (13:23 +0200)
committerSven Schöling <s.schoeling@linet-services.de>
Fri, 13 May 2011 11:23:51 +0000 (13:23 +0200)
SL/Dispatcher.pm

index c1f31a4..e728976 100644 (file)
@@ -52,7 +52,6 @@ sub pre_request_checks {
       show_error('login/auth_db_unreachable');
     }
   }
-  $::auth->expire_sessions;
 }
 
 sub show_error {
@@ -237,6 +236,7 @@ sub handle_request {
   $::myconfig = ();
   Form::disconnect_standard_dbh;
   $::auth->expire_session_keys->save_session;
+  $::auth->expire_sessions;
   $::auth->reset;
 
   $::lxdebug->end_request;