Hello Tomcat Users Group and Chuck Caldarale and David Smith:
Chuck, thanks for clearing this up for me. I guess a simple session obj
test
would have sufficed to test equality of the two session objects so obtained
from a context and similarly path-named multi-level-subcontext.
Nevertheless, sessions aside, I still have no working context xml
configuration
that allow a multi-level-subcontext to be specified inside a ROOT-level
web app,
even though such a multi-level-subcontext works fine inside a
context-level web
app (example: http://www.domain.com/context and
http://www.domain.com/context/multi-level-subcontext)
Maurice
Caldarale, Charles R wrote:
From: Maurice Yarrow [mailto:maurice.yar...@comcast.net]
Subject: Re: Multi-level context starting at ROOT
My use-case is embedding meshcms inside my primary web app and
in a way that they can both share the same session.
If you think multi-level contexts share sessions with other contexts with the
same prefix, you're mistaken; all contexts are independent, regardless of
whatever similarities their URL paths might have.
My understanding of the servlet spec is that session sharing across contexts is
not allowed. Tomcat does have provision for single sign-on, which may be what
you're looking for.
http://tomcat.apache.org/tomcat-6.0-doc/config/valve.html#Single%20Sign%20On%20Valve
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you received
this in error, please contact the sender and delete the e-mail and its
attachments from all computers.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
------------------------------------------------------------------------
No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 9.0.698 / Virus Database: 270.14.49/2480 - Release Date: 11/03/09 23:37:00
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org