I think you’re going to need to look into session listeners (I don’t remember the exact name, but it’s part of the servlet spec).  You won’t get immediate feedback when the user shuts down the browser, but when the session times out (usually something like 30 mins of inactivity) your app server will give you the event and you can shut down your thread.

 

Matt

 


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of digital_eyezed
Sent: Monday, May 09, 2005 2:40 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Kill Process on Server

 

Hi,

How do I have a stateful object terminated upon exiting the
application?

When the user logs in, upon initialization I start a remote object
call which kicks off a runnable instance of an object. I want the
instance to be terminated when the user closes the browser, can flex
do this?





Yahoo! Groups Links

Reply via email to