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 38740] New: - (5.5.15) session attributes set in sessionCreated not synched
Date Tue, 21 Feb 2006 18:00:01 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=38740>.
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=38740

           Summary: (5.5.15) session attributes set in sessionCreated not
                    synched
           Product: Tomcat 5
           Version: 5.5.14
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: Catalina:Cluster
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: njwesselman@jamestower.com


This is a bug I experienced in 5.5.15 (it's not listed as a Version option in
bugzilla).

When a session attribute is set within sessionCreated, it is not replicated
since DeltaManager resets the DeltaRequest after the createSession method of
ManagerBase is called. This is especially problematic when listener notification
is disabled on replication (which is necessary for my application logic).

Workaround: Create a servlet filter which "re-sets" session attributes on the
first request. This will create the needed delta request. Utilize another
session attribute to prevent filter logic from running on subsequent requests.

-- 
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