Hi,

I've set up my tomcat to run with 3 virtual hosts, i.e.: 

www1.domain.com
www2.domain.com
www3.domain.com

They each have a ROOT context mapped
        <Context path="" docBase="www1"/>
        <Context path="" docBase="www2"/>
        <Context path="" docBase="www2"/>

Sessions work fine in www1.domain.com, however, the sessions created in
www2.domain.com and www3.domain.com are not saved between requests.

When I go from www2.domain.com/default.action to
www2.domain.com/new.action the session attributes are lost.  (Note: I am
NOT referring to sessions across multiple hosts.)

I read something about having to run multiple tomcats because it cannot
map sessions to the same path.  However, I cannot find more information
in the archives, will someone enlighten me?

Can I use one instance of tomcat for multiple virtual hosts and still
have sessions working properly within each host?

I am using Tomcat 4.1.18 on windows xp.

 ~Shadow



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to