Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Chrome does reuse HTTP Connection for F5 -> old session isn't destroyed
Chrome does reuse HTTP Connection for F5 -> old session isn't destroyed [message #1820775] Tue, 28 January 2020 10:19 Go to next message
Eclipse UserFriend
Chrome does seem to reuse a HTTP connection if pressing F5. So the old uiSession isn't destroyed on server side, which leads to big leaks and all sort of problems.

I tried to to implement a JS watchdog, which kills the HTTPSession after some time, but then also the new UISession is killed - because it uses the old session...

Any ideas how to prevent this - or selectively kill the UISession, but not the HTTPSession?
Re: Chrome does reuse HTTP Connection for F5 -> old session isn't destroyed [message #1822005 is a reply to message #1820775] Tue, 25 February 2020 10:20 Go to previous messageGo to next message
Eclipse UserFriend
Hi Michael,
Did you get anywhere with this issue?
I've just started noticing the same issue after updating Chrome to 80.0.3987.122 on Win10 64bit. It was OK before that update.
Other browsers seem OK.
Updated to latest nightly RAP 3.12 (2020-02-25) and still no good.
Even if I close Chrome completely (or just the individual tab), the session persists in RAP.
I have RWT.getUISession().addUISessionListener created, but the beforeDestroy method never gets called for this version of Chrome.
Regards, John

ADDED: raised bug:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=560514

[Updated on: Tue, 25 February 2020 10:24] by Moderator

Re: Chrome does reuse HTTP Connection for F5 -> old session isn't destroyed [message #1822347 is a reply to message #1820775] Wed, 04 March 2020 09:58 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

I added my answer to the bugzilla (https://bugs.eclipse.org/bugs/show_bug.cgi?id=560514), opened by John Gymer.

Best regards,
Ivan
Re: Chrome does reuse HTTP Connection for F5 -> old session isn't destroyed [message #1822965 is a reply to message #1822347] Tue, 17 March 2020 08:31 Go to previous message
Eclipse UserFriend
Thanks Ivan, the fix seems to be working well.
Previous Topic:BUild Rap runtime from source
Next Topic:Painting and drawing problem using GC in RAP.
Goto Forum:
  


Current Time: Sun Aug 31 16:34:06 EDT 2025

Powered by FUDForum. Page generated in 0.04399 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top