[Rt-commit] rt branch, 4.2/switch-oracle-session-backend, created. rt-4.1.13-19-g36be526
Thomas Sibley
trs at bestpractical.com
Fri Jun 21 14:48:27 EDT 2013
The branch, 4.2/switch-oracle-session-backend has been created
at 36be526fecd2efb82762bb64978e39381d4a7622 (commit)
- Log -----------------------------------------------------------------
commit 36be526fecd2efb82762bb64978e39381d4a7622
Author: Thomas Sibley <trs at bestpractical.com>
Date: Fri Jun 21 11:22:51 2013 -0700
Default to storing sessions in the database on Oracle
This switches away from file-based sessions by default on Oracle, which
was a historical hold-over.
diff --git a/etc/RT_Config.pm.in b/etc/RT_Config.pm.in
index 345a747..978c0f6 100755
--- a/etc/RT_Config.pm.in
+++ b/etc/RT_Config.pm.in
@@ -2030,10 +2030,10 @@ Set($AutoCreate, undef);
=item C<$WebSessionClass>
-C<$WebSessionClass> is the class you wish to use for managing Sessions.
-On mysql and Pg it defaults to use your database, in other cases
-sessions are stored in files using L<Apache::Session::File>. Other
-installed Apache:Session::* modules can be used to store sessions.
+C<$WebSessionClass> is the class you wish to use for storing sessions. On
+MySQL, Pg, and Oracle it defaults to using your database, in other cases
+sessions are stored in files using L<Apache::Session::File>. Other installed
+Apache:Session::* modules can be used to store sessions.
Set($WebSessionClass, "Apache::Session::File");
diff --git a/lib/RT/Interface/Web/Session.pm b/lib/RT/Interface/Web/Session.pm
index e5c6433..f2dd603 100644
--- a/lib/RT/Interface/Web/Session.pm
+++ b/lib/RT/Interface/Web/Session.pm
@@ -98,8 +98,9 @@ sessions class names as values.
sub Backends {
return {
- mysql => 'Apache::Session::MySQL',
- Pg => 'Apache::Session::Postgres',
+ mysql => 'Apache::Session::MySQL',
+ Pg => 'Apache::Session::Postgres',
+ Oracle => 'Apache::Session::Oracle',
};
}
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list