You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2005/10/10 11:03:30 UTC
DO NOT REPLY [Bug 36983] New: -
session problems with cross context webapps
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=36983>.
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=36983
Summary: session problems with cross context webapps
Product: Tomcat 5
Version: 5.5.12
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P2
Component: Catalina
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: M.Hankus@ce3.pl
I encountered a problem with sessions and cross context calls. Here is a scenario:
We have to webapps (webapp1 and webapp2).
webapp1 is configured with cross contex set to true so it is able to dispatch to
webapp2.
Now user access webapp1 and webapp2. Two sessions are created for both webapps.
request.getSession in webapp1 returns session1
request.getSession in webapp2 returns session2
Problem is during dispatching request from webapp1 to webapp2, because
request.getSession in webapp2 does not return session2, but only for request
which is dispatched from webapp1. all the following request which are not cross
context again return session2, so session is not lost.
Tomcat 5.0.x works fine when dispatching cross context requests (two separate
sessions are maintained for each webapp).
--
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: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org