release
them even if you say they exist only for the request.
This is a problem.
- Original Message -
From: "Evan Jehu" <[EMAIL PROTECTED]>
To: "axis user mailing list" <[EMAIL PROTECTED]>
Sent: Monday, April 08, 2002 3:06 PM
Subject: Session cleanup
>
Hi all,
I have a session bean running as a stateful Axis web service, I was
wondering if anybody knows how/if the session cleans up when it expires, how
that happens and if I have to perform any specific actions?
Evan
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.
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().getSess