tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <craig...@apache.org>
Subject Re: SESSION BETWEEN TWO CONTEXT
Date Wed, 22 Jan 2003 20:21:12 GMT


On Wed, 22 Jan 2003, Laxmikanth M.S. wrote:

> Date: Wed, 22 Jan 2003 16:39:56 +0530
> From: Laxmikanth M.S. <laxmikanth.ms@sonata-software.com>
> Reply-To: Tomcat Users List <tomcat-user@jakarta.apache.org>
> To: tomcat-user@jakarta.apache.org
> Subject: SESSION BETWEEN TWO CONTEXT
>
> Hi All,
> well and wish the same..
> I have two contexts in tomcat...
> In context1 I put some session variables...how to access these variables in
> context2...should I put in session or in application variable...does tomcat
> provide some way to declare varibales for all context withing Host Element
> thanks in advance

There is no such mechanism.

Even if there was, it wouldn't work, becuase the two webapps are loaded
from different class loaders and cannot see each other's classes.

> Laxmikanth

Craig



--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message