Mantis - Resin
Viewing Issue Advanced Details
1593 feature N/A 01-30-07 19:15 05-25-07 16:37
hypefiend  
ferg  
normal  
closed 3.0.23  
fixed  
none    
none 3.1.2  
0001593: Add a config option for session-id prefix in jdbc-store sessions
My requirement is to have the ability (against servlet spec) to use the same db-persisted session across a variety of webapps on a variety of servers. E.g. I need the following to all share the same session:

http://host1/appa [^]
http://host1/appb [^]
http://host2/appa [^]
http://host2/appc [^]

I've managed to hack the source for SessionManager.java to set _distributionId = "mycustomprefix", and that seems to do the trick. Ideally, there would be a session config param in <session-config> that would allow override of the default (hostname + contextPath).

Thoughts?

Notes
(0001958)
ferg   
05-25-07 16:37   
server/01n5