Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Application beforeDestroy() never gets called during browser close(Is this supported?)
icon5.gif  Application beforeDestroy() never gets called during browser close [message #991195] Mon, 17 December 2012 12:00 Go to next message
Ronald So is currently offline Ronald So
Messages: 198
Registered: April 2011
Senior Member
Hello,

I am using RAP 1.5.1 and I notice that the beforeDestroy() method does not get called when user closes the browser, or the browser tab. Is this expected?

I apologize if this question has been discussed before but those threads were created when RAP was at 1.3 or 1.4. I am wondering if there are any enhancement that had been made to 1.5.

I found this bug that was open in RAP 1.3 time frame but it is still open.

Session kill mechanism on browser close
https://bugs.eclipse.org/bugs/show_bug.cgi?id=284273

Re: Application beforeDestroy() never gets called during browser close [message #991446 is a reply to message #991195] Wed, 19 December 2012 03:21 Go to previous messageGo to next message
Ralf Sternberg is currently offline Ralf Sternberg
Messages: 1290
Registered: July 2009
Senior Member

Hi Ronald,

What should I say - the bug is still open. But I think because of the
steady demand for this feature we should re-investigate. No promises for
2.0, but if someone comes up with a draft patch that works with all
relevant browsers, that would of course be helpful.

Regards, Ralf

--
Ralf Sternberg

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: Application beforeDestroy() never gets called during browser close [message #991501 is a reply to message #991446] Wed, 19 December 2012 09:50 Go to previous message
Ronald So is currently offline Ronald So
Messages: 198
Registered: April 2011
Senior Member
Thanks Ralf.

I was under the impression that this is supported but you are right that this has to be a desirable function to support if you are building a web application that supports multiple user sessions.

Happy holidays to you and the RAP team!

Ronald
Previous Topic:RWT/RAP VerifyEvent support and ClientScripting
Next Topic:Padding Issue
Goto Forum:
  


Current Time: Sat Aug 30 18:38:20 EDT 2014

Powered by FUDForum. Page generated in 0.10015 seconds