Connect/Disconnect events not firing in IE #501

Closed
gilesbradshaw opened this Issue Jul 2, 2012 · 7 comments

Projects

None yet

4 participants

@gilesbradshaw

This seems especially bad with internet explorer. I'm refreshing the page and not getting a disconnect event. Is there any way of periodically polling connections and dropping any which are no longer valid? - Poss wrong place to ask if so apologies

@davidfowl
Member

Are you using the latest version of SignalR? Do you have a sample to reproduce the issue? What version of IE are you using that is causing this?

@gilesbradshaw

Hi I'm using 0.5.2 IE 9 IIS Express from within visual studio. I'll see if I can produce a sample. I guess I could implement a heartbeat from the clients and just drop connections if the heartbeat stops. I've also noticed odd behavior when pressing F5 in IE which doesn't happen on any other browser.

@gilesbradshaw

here's a v simple project that illustrates it https://github.com/GilesBradshaw/ConnectionEvents

@gilesbradshaw

did youb get time to run it? n It does seem there is definitely a bug there

@davidfowl
Member

Yep, I can reproduce. It's just not raising the events at all on new connections for some reason.

@gilesbradshaw

Or disconnects - thanks for looking at it. I'm presuming such things will
be ironed out towards version 1

On Thu, Jul 5, 2012 at 9:46 AM, David Fowler <
reply@reply.github.com

wrote:

Yep, I can reproduce. It's just not raising the events at all on new
connections for some reason.


Reply to this email directly or view it on GitHub:
#501 (comment)

@davidfowl
Member

It's something to do with IE caching. I'm looking to see if we can fix this in the forever frame transport. Doing this will make it work:

More info http://stackoverflow.com/questions/2648053/preventing-iframe-caching-in-browser

@DamianEdwards DamianEdwards was assigned Jul 5, 2012
@NTaylorMullen NTaylorMullen referenced this issue Aug 2, 2012
Merged

Bug fixes #572

@davidfowl davidfowl closed this in 6f77371 Aug 2, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment