[Rt-devel] [patch] allow using memcached as a session storage

Stan Sawa stanislaw.sawa at uk.clara.net
Mon Dec 3 05:09:50 EST 2007


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rt-session-cfg.diff
Type: text/x-patch
Size: 540 bytes
Desc: not available
Url : http://lists.bestpractical.com/pipermail/rt-devel/attachments/20071203/7b6009c0/rt-session-cfg.bin


More information about the Rt-devel mailing list