From c182111d97c8cba093403ebf6ab438cfd9f1d2d9 Mon Sep 17 00:00:00 2001 From: einhverfr Date: Thu, 16 Oct 2008 19:31:20 +0000 Subject: Adding db commit after session check to avoid issues with long-running reports locking a user out. git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@2372 4979c152-3d1c-0410-bac9-87ea11338e46 --- LedgerSMB/Auth/DB.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/LedgerSMB/Auth/DB.pm b/LedgerSMB/Auth/DB.pm index 9afc8675..de9d23fe 100755 --- a/LedgerSMB/Auth/DB.pm +++ b/LedgerSMB/Auth/DB.pm @@ -112,6 +112,7 @@ sub session_check { print qq|Set-Cookie: ${LedgerSMB::Sysconfig::cookie_name}=; path=$path;\n|; return 0; } + $dbh->commit; } sub session_create { -- cgit v1.2.3