Difference between version and version      View first change»»

Back to SessionAttributeListener, or SessionAttributeListener version history

At line 77 changed 1 line.
System.out.println("[SessionInfo] "+new java.util.Date()+" Attribute added, session "+session+": "+sessionBindingEvent.getName()+"="+sessionBindingEvent.getValue());
System.out.println("[SessionAttr] "+new java.util.Date()+" Attribute added, session "+session+": "+sessionBindingEvent.getName()+"="+sessionBindingEvent.getValue());
At line 86 changed 1 line.
System.out.println("[SessionInfo] "+new java.util.Date()+" Attribute removed, session "+session+": "+sessionBindingEvent.getName());
System.out.println("[SessionAttr] "+new java.util.Date()+" Attribute removed, session "+session+": "+sessionBindingEvent.getName());
At line 95 changed 1 line.
System.out.println("[SessionInfo] "+new java.util.Date()+" Attribute replaced, session "+session+": "+sessionBindingEvent.getName()+"="+sessionBindingEvent.getValue());
System.out.println("[SessionAttr] "+new java.util.Date()+" Attribute replaced, session "+session+": "+sessionBindingEvent.getName()+"="+sessionBindingEvent.getValue());
At line 100 added 8 lines.
!Sample Output
This is some live output from the above example. The session shows as DeltaSessionFacade because this application is clustered. The logs below were used to detect a problem with session replication in a Tomcat cluster.
{{{
[SessionAttr] Wed Dec 06 23:33:39 EST 2006 Attribute added, session org.apache.catalina.cluster.session.DeltaSessionFacade@3d8f1be9: name=Cassie
[SessionAttr] Wed Dec 06 23:33:39 EST 2006 Attribute replaced, session org.apache.catalina.cluster.session.DeltaSessionFacade@3d8f1be9: portalSetting=com.metawerx.portal.Settings@3302fc5
[SessionAttr] Wed Dec 06 23:33:39 EST 2006 Attribute replaced, session org.apache.catalina.cluster.session.DeltaSessionFacade@3d8f1be9: javax.servlet.jsp.jstl.fmt.request.charset=ISO-8859-1
}}}
navigation
metawerx specific
search
Share
tools
help

referring pages

Share