You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Laxmikanth M.S." <la...@sonata-software.com> on 2003/01/22 12:09:56 UTC

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 
Laxmikanth
*********************************************************************
Disclaimer: The information in this e-mail and any attachments is
confidential / privileged. It is intended solely for the addressee or
addressees. If you are not the addressee indicated in this message, you may
not copy or deliver this message to anyone. In such case, you should destroy
this message and kindly notify the sender by reply email. Please advise
immediately if you or your employer does not consent to Internet email for
messages of this kind.
*********************************************************************

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: SESSION BETWEEN TWO CONTEXT

Posted by "Craig R. McClanahan" <cr...@apache.org>.

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

> Date: Wed, 22 Jan 2003 16:39:56 +0530
> From: Laxmikanth M.S. <la...@sonata-software.com>
> Reply-To: Tomcat Users List <to...@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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>