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=35606>.
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=35606

           Summary: Problem with Session cookies and multiple webapps on
                    different ports or subdomains
           Product: Tomcat 5
           Version: 5.0.27
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: major
          Priority: P2
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: [EMAIL PROTECTED]


When i run two instances of tomcat on different ports and access the first
webapp, a session is created. when i access the second webapp, a new session is
created. but this overwrites the session cookie of the first webapp.
The same happens when i have a webapp on a domain (e.g. test.com) and a second
webapp on a subdomain (other.test.com), but not in all cases (i think it depends
on which domain i call first).

The problem could be solved if the cookie name could be changed but this will
violate the specs afaik.

In Bug 16822 is a description how the problem could be solved otherwise: tomcat
should use a session id supplied by the client when this is not already in use.
in this case both applications would use the same session id (which should case
no problems because they have different classloaders).

Michael.

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to