This there anyway to get jserv to call the listener when
you compile a new class? It invalidates the session, but it doesn't
run the listener code (as near as I can tell).
-Tom
Jim Richards wrote:
>
> The java session stays active until it times out, because each time you hit a page
> a new http conenction is created, and the servlet engine will associate the
> current java session with the new http session based on a cookie
> or other attribute that identifies them. The Java session will usually time out if
> it does not detect a http connection from its user.
>
> have a look at HttpSessionBindingListener and HttpSessionBindingEvent as these
> will allow you to catch when the java session times out, and lets you run
> any cleanup code you need.
>
--
+-------------------------------------------------------------------+
+ Thomas M. Sasala, Electrical Engineer [EMAIL PROTECTED] +
+ MRJ Technology Solutions http://www.mrj.com +
+ 10461 White Granite Drive, Suite 102 (W)(703)277-1714 +
+ Oakton, VA 22124 (F)(703)277-1702 +
+-------------------------------------------------------------------+
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html