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
07785 765017