[Rt-commit] r10930 - rt/branches/3.7-EXPERIMENTAL/lib/RT/Interface/Web

ruz at bestpractical.com ruz at bestpractical.com
Mon Feb 25 16:00:15 EST 2008


Author: ruz
Date: Mon Feb 25 16:00:14 2008
New Revision: 10930

Modified:
   rt/branches/3.7-EXPERIMENTAL/lib/RT/Interface/Web/Session.pm

Log:
forward port from 3.6

r10265 (orig r10231):  jesse | 2008-01-03 17:47:40 +0300

 r74540 at pinglin:  jesse | 2008-02-11 15:31:54 +0000
  SetupSessionCookie - enable "Transaction" property for better support on
  Oracle or File sessions (From Alexandr Ciornii)


Modified: rt/branches/3.7-EXPERIMENTAL/lib/RT/Interface/Web/Session.pm
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/lib/RT/Interface/Web/Session.pm	(original)
+++ rt/branches/3.7-EXPERIMENTAL/lib/RT/Interface/Web/Session.pm	Mon Feb 25 16:00:14 2008
@@ -112,11 +112,13 @@
 sub Attributes {
 
     return $_[0]->Backends->{RT->Config->Get('DatabaseType')} ? {
-            Handle     => $RT::Handle->dbh,
-            LockHandle => $RT::Handle->dbh,
+            Handle      => $RT::Handle->dbh,
+            LockHandle  => $RT::Handle->dbh,
+            Transaction => 1,
         } : {
             Directory     => $RT::MasonSessionDir,
             LockDirectory => $RT::MasonSessionDir,
+            Transaction   => 1,
         };
 }
 


More information about the Rt-commit mailing list