cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robin Rigby" <>
Subject Instances and sessions
Date Mon, 02 Apr 2007 12:32:50 GMT
I have several virtual hosts working with HostSelector, all on the same
instance of cocoon in Tomcat 5.5.  I am getting naming conflicts between
session variables with the same name in different virtual hosts.  I could
1. Rename the session variables to make them distinct.
2. Create virtual hosts in Tomcat but use one instance of the cocoon code
for all of them.
3. Copy the cocoon code to each virtual host.
Option 1 looks wrong.  Option 3 looks very cumbersome.
Question: can I get away with option 2?
What is the best practice here?
Many thanks
Robin Rigby <> 
07785 765017

View raw message