--- Samuel Mota <[EMAIL PROTECTED]> wrote: > Hi, > > I've sette up a component with Session lifecycle ... > it's working like a charm, but my session > component adds an application scoped reference to > the user (he can login only once) ... > > When the session ends I must clear the reference at > the application scope. > > I've extended the SessionLifeCycleListener class > from Xwork to override the > sessionDestroyed(HttpSessionEvent e) method, but the > session when this method is called is totally > empty ...
That's because tomcat invalidates session first, before calling callbacks... Your component placed on session shall be HttpSessionBindingListener... This suks, but it's standart.... regards, ===== ----[ Konstantin Pribluda ( ko5tik ) ]---------------- Zu Verstärkung meines Teams suche ich ab Sofort einen Softwareentwickler[In] für die Festanstellung. Arbeitsort: Mainz Skills: Programieren, Kentnisse in OpenSource-Bereich ----[ http://www.pribluda.de ]------------------------ __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork