You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by Joan Pont <jp...@nortelnetworks.com> on 2003/11/28 18:06:41 UTC

Urgent: How to know when a Session has been terminated within Apa che SOAP

Hi,
	I would really appreciate any help/suggestions regarding this issue.
	I have a problem regarding allocation/reallocation of resources per
session. 
	The idea is that some resources are allocated to be able to service
a session enabled client when we receive the first request. Those resources
must be deallocated when the session terminates.
       I need to know/be notified when the HTTP session has been terminated
within the SOAP code.
	Does SOAP know when the HTTP session has been terminated? 
	For example the client connection has dropped and effectively the
Tomcat knows that this session is not active anymore. Can I get notified of
that event within Apache SOAP?
	Is there way so I can free session allocated resources when a
session terminates?
	Is there for example a session listener interface that can be
implemented?

Many thanks,
Joan.


Re: Urgent: How to know when a Session has been terminated within Apache SOAP

Posted by Scott Nichol <sn...@scottnichol.com>.
You are not notified from within SOAP code when a session ends.

Scott Nichol

Do not send e-mail directly to this e-mail address,
because it is filtered to accept only mail from
specific mail lists.
----- Original Message ----- 
From: "Joan Pont" <jp...@nortelnetworks.com>
To: <so...@ws.apache.org>
Sent: Friday, November 28, 2003 12:06 PM
Subject: Urgent: How to know when a Session has been terminated within Apache SOAP


> Hi,
> I would really appreciate any help/suggestions regarding this issue.
> I have a problem regarding allocation/reallocation of resources per
> session. 
> The idea is that some resources are allocated to be able to service
> a session enabled client when we receive the first request. Those resources
> must be deallocated when the session terminates.
>        I need to know/be notified when the HTTP session has been terminated
> within the SOAP code.
> Does SOAP know when the HTTP session has been terminated? 
> For example the client connection has dropped and effectively the
> Tomcat knows that this session is not active anymore. Can I get notified of
> that event within Apache SOAP?
> Is there way so I can free session allocated resources when a
> session terminates?
> Is there for example a session listener interface that can be
> implemented?
> 
> Many thanks,
> Joan.
> 
> 

Re: Urgent: How to know when a Session has been terminated within Apa che SOAP

Posted by mangesh ulhare <ma...@yahoo.co.in>.

Joan Pont <jp...@nortelnetworks.com> wrote:
Hi, 
        I would really appreciate any help/suggestions regarding this issue. 
        I have a problem regarding allocation/reallocation of resources per session. 
        The idea is that some resources are allocated to be able to service a session enabled client when we receive the first request. Those resources must be deallocated when the session terminates.

       I need to know/be notified when the HTTP session has been terminated within the SOAP code. 
        Does SOAP know when the HTTP session has been terminated? 
        For example the client connection has dropped and effectively the Tomcat knows that this session is not active anymore. Can I get notified of that event within Apache SOAP?

        Is there way so I can free session allocated resources when a session terminates? 
        Is there for example a session listener interface that can be implemented? 

Many thanks, 
Joan. 


It depends on the language you are working.

If you are using java methods then you can take a look at the internal details of the method 

Yahoo! India Matrimony: Find your partner online.Post your profile.