tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Moises Lejter" <mlej...@teamsoftinc.com>
Subject Re: How to call beforeSessionDestroyed of SessionListener
Date Mon, 07 Aug 2006 20:53:29 GMT
I am not sure what you are trying to do ... but you should never be calling 
this yourself - container callbacks are Tomcat's to call.
What you would do at app level is define an HttpSessionListener to be 
called...

Moises

"Umesh Kudtarkar" <umesh@bitpass.com> wrote in message 
news:96E9D60A6B76344B96FA3144BD1E79D660FCE1@winsvr.bitpass-inc.com...
Hi,
I am trying to find out how to call beforeSessionDestroyed. From Tomcat
5.5 code I see following
in org.apache.catalina.session.StandardSession

  fireContainerEvent(context,
                             "beforeSessionDestroyed",
                                           listener);

But not sure how it is called. Has anyone tried this? Any suggestions?

Thanks,
Umesh





---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message