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