Mike, the resources, you put into the sessionContext should implement the "javax.servlet.http.HttpSessionBindingListener" interface. see j2ee api doc for details.
you, will be noticed then, when your session has timed out. for finalizing on the other hand you never know when it really happens. Christoph Mike Brown <[EMAIL PROTECTED]> schrieb am 27.03.2002, 23:38:03: > I'd like to handle a client that has terminated or is inactive and do > cleanup on the session that I have for that client. I > setMaintainSession(true) on the client side and then the following on the > server side: > > AxisHttpSession session = > (AxisHttpSession)MessageContext.getCurrentContext().getSession(); > session.setTimeout(SOME_TIMEOUT); > > and then I use the finalize() method to clean up resources from the session. > > Is this a good way to do this? Anyone know of a better way? Any help is > appreciated. > > Thanks, > Mike