Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 15:19 Go to next message
Michael Fritscher is currently offline Michael FritscherFriend
Messages: 43
Registered: September 2012
Member
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 15:20 Go to previous messageGo to next message
John Gymer is currently offline John GymerFriend
Messages: 279
Registered: November 2012
Location: UK
Senior Member
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



---
Just because you can doesn't mean you should

[Updated on: Tue, 25 February 2020 15:24]

Report message to a 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 14:58 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
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 12:31 Go to previous message
John Gymer is currently offline John GymerFriend
Messages: 279
Registered: November 2012
Location: UK
Senior Member
Thanks Ivan, the fix seems to be working well.


---
Just because you can doesn't mean you should
Previous Topic:BUild Rap runtime from source
Next Topic:Painting and drawing problem using GC in RAP.
Goto Forum:
  


Current Time: Thu Apr 25 11:20:26 GMT 2024

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

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

Back to the top