tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From KC Berg <KB...@latis.com>
Subject RE: Tomcat initiates new session when linking to different webapp
Date Wed, 20 Feb 2002 17:03:43 GMT
I think you should look at the tomcat help that talks about cross context.
The documentation describes how this is done. I think in your server.xml you
can set a parameter in your context tag, which represents your web app, to
give it cross context this should maintain the session across all apps
"context's" that are defined in the server.xml. Cross context is disabled by
default. Hope that helps.

-----Original Message-----
From: christian_weiler@sonynetservices.com
[mailto:christian_weiler@sonynetservices.com]
Sent: Wednesday, February 20, 2002 9:37 AM
To: tomcat-user@jakarta.apache.org
Subject: Tomcat initiates new session when linking to different webapp


Hi!

I tried to link from a jsp1 of webapp1 to a jsp2 of webapp2. In jsp2 I
tried to access session attributes which are set in jsp1 - but the
attributes were gone! If I try the same within one webapp everything
works fine!

Q: Is it possible to configure Tomcat V3.2.3 so that the session-object
won't
be discarded when switching between different webapps?

Thanks for every useful comment,
Chris.


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>

--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message