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: [EMAIL PROTECTED]


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

Reply via email to