tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 44096] New: - Find invalid session object.
Date Wed, 19 Dec 2007 01:31:39 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=44096>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=44096

           Summary: Find invalid session object.
           Product: Tomcat 6
           Version: 6.0.14
          Platform: Other
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: engle_mars@yahoo.com.cn


We have deploy two web applications in tomcat. One application deploy as the
root path. It mean when user access /, it will in our's first web application.
We deploy the second web application in /XXX, it mean when you access all url
with prefix /XXX, it will enter the second application. We use cookie to
remember the JSESSIONID for first application and use the url rewrite for the
second web application's jsessionid. For this second web application in
tomcat/conf/server.xml. I have set the cookies to false of the element
<Context>. But I find if I access the first web application, then you access the
second application. The second application always get the first application's
session object. The server.xml is:

<Context path="/" reloadable="true" docBase="YYY"></Context>
<Context path="/XXX" cookies="false" reloadable="true" docBase="XXX"></Context>

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message