Ok, still, I haven't found any documentation on how to add a SessionListener in the server.xml file, and adding one using the listener tags defined for web.xml files doesn't seem to work.
I also haven't seen how to get a user's credentials from a HttpSession, or how to get a Session from an HttpSessionListener. Could you throw me a bone? Justin -----Original Message----- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Monday, December 01, 2003 2:52 PM To: Tomcat Users List Subject: RE: SessionListener Howdy, A SessionListener of the org.apache.catalina variety would go in the same place as all tomcat-specific features: $CATALINA_HOME/conf/server.xml. That means the class specified there must be accessible to the server classloaders, i.e. must reside in common/lib or higher on the classloader hierarchy. The above is true for Valves, Realms, Listeners, etc, that are proprietary to tomcat. Yoav Shapira Millennium ChemInformatics >-----Original Message----- >From: Hart, Justin [mailto:[EMAIL PROTECTED] >Sent: Monday, December 01, 2003 11:53 AM >To: Tomcat Users List >Subject: RE: SessionListener > >Ok, so, the listener in there must implement HttpSessionListener, where can >I use SessionListeners? > >Justin > >-----Original Message----- >From: Hart, Justin >Sent: Monday, December 01, 2003 11:34 AM >To: Tomcat Users List (E-mail) >Subject: SessionListener > > >My SessionListener doesn't seem to be firing, any help? > >I have a SessionListener that I want to go off when a user authenticates to >my web app (this is a correct usage, right?) > >So, in the web.xml of my app, I would put the lines: > ><web-app> > <listener> > <listener-class> > the class > </listener-class> > </listener> ></web-app> > >This should fire off when the user signs in to the page, correct? > >Justin > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]