Ok - maybe I am wrong and I have been numerous times but the admin directory
is for administration of the server. In the future a gui interface will be
installed in tomcat for server administration via webapps\admin - Since your
context is named Admin maybe you added your own context.

 ( This is just a guess)
I think what you want to do is set in you contexts crossContext=true (allows
you to  access other contexts via ServletContext.getContext())
-- Pete --

I think if you want to
----- Original Message -----
From: "William Boyd" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 22, 2001 3:48 PM
Subject: How can I share Sessions between Contexts?


> Hello, I'm a newbie to forums like this and to Tomcat so please bare with
> me. I've a quick question.
>
> How can I share Sessions between Contexts?
>
> I have a User site and an Admin site, both have their own context entry in
> the server.xml file.
> Both Sites must also share the same session information as the interface
> allows users to move from one site to another while only logging on once.
>
> Here's the folder structure:
>      webapps/User
>      webapps/Admin
>
> I realize that I could move the two sites into one context but that is an
> unacceptable solution because this is would require extensive changes to a
> application that works fine in other App Servers.
>
> Any help would be greatly appreciated.
>
> William Boyd
> Email: [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
>


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

Reply via email to