View Issue Details

IDProjectCategoryView StatusLast Update
0030924mantisbtinstallationpublic2023-06-27 17:12
Reporterthibaud_royer Assigned To 
PriorityhighSeveritymajorReproducibilityalways
Status newResolutionopen 
Product Version2.24.2 
Summary0030924: Session on a load balancing installation
Description

Hello,

I installed MantisBT on several instances at AWS exposed through load balancing. However, users sometimes find themselves disconnected. Indeed, we usually use session storage on redis for our other applications, but I couldn't find a similar configuration for MantisBT.

TagsNo tags attached.

Activities

thibaud_royer

thibaud_royer

2022-09-23 09:47

reporter   ~0067013

Anyone on this support ???

dregad

dregad

2022-09-23 11:59

developer   ~0067014

Sorry, can't help you there.

Mantis uses PHP's internal session handler, but this can't be changed through configuration. Using a custom session handler will require changing the source code (or maybe a plugin could do it).

dfairley

dfairley

2023-06-27 17:12

reporter   ~0067868

Just figured I'd make an account and give this a +1 - I hope that's okay.

I like to keep sessions in the database. Doesn't matter if it's mysql, redis, memcached, whatever. Then I can run multiple instances for zero down time maintenance, etc. I saw that your database abstraction lib ADOdb has a session component. I didn't manage to get it working though. Is beyond me.