cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robin Rigby" <ro...@gondolier.org.uk>
Subject Instances and sessions
Date Mon, 02 Apr 2007 12:32:50 GMT
Hi
 
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
either
 
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
robin@gondolier.org.uk
http://www.gondolier.org.uk <http://www.gondolier.org.uk/> 
07785 765017
 
 

Mime
View raw message