Other event handlers
I'd like to know if we can use other event handlers, associated to methods different from login.
At the moment, I need one for the 'close' method.
My need is simply to make my system aware that the user is logged out and therefore launch a dedicated java module (as I can do via ES plugins and event handlers) for managing such event.
Unfortunately we are not able to intercept inside the flash all cases when a user closes the connection, for example when he closes the window in the Internet browser.
ES can instead do that and has also a timeout procedure to log the user out, for example after a violent termination of the connection.
A close event handler could be the solution, but I don't know how to build it.
I'm of course open to other solutons...
Doh! I was worried you would ask for this. The server has support for logout event handlers, but I'm not positive they are fully implemented. I wrote it a LONG time ago. Let me look into it and get back to you soon.
Tags for this Thread