Allow using memcached as a session storage

Hi.

The attached patch allows to configure to use memcached as session
storage for rt.

Example snippet for RT_SiteConfig.pm:

Set($WebSessionClass, ‘Apache::Session::Memcached’);
Set($WebSessionProperties, {
Servers => ‘127.0.0.1:11211’,
NoRehash => 1,
Readonly => 0,
Debug => 0,
CompressThreshold => 10_000
});

It basically allows to pass configuration to Apache::Session::*
initialisation.

This patch is for RT 3.6.5, from what i can see it looks like session
handling in 3.7 changed, so this probably would require porting the
change to it.

Stanislaw Sawa

rt-session-cfg.diff (540 Bytes)