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

Reply via email to