-
December 3rd, 2009, 11:29 AM
#1
IE - unexpected unsubscribe
Hello,
I have an application that adds a few tables in a pushPage.
The page has several tabs in it and when I want to switch to a different tab I press the tab button and it does the switch.
for some reason, only in IE, when I change the tab my tables seems to unsubscribe (I can see the unsubscriptions happening in the lightstreamer server).
When looking in the dynamic HTML I noticed that the iframe that takes care of the LightStreamer disappears when I change the tabs.
The code behind the tab changing is simply setting the display style to 'none' on the tab that was left and to 'block' on the tab that was entered.
I checked it on IE8.
Anybody knows what might be the problem?
After checking a little more I realized that the engine is lost for some reason.
more than that, I saw that it doesn't matter what I do in the javascript, even if I only call javascript:void(0) for some reason the engine is lost.
As I said before it happens only in IE.
I would appreciate any help...
Thank you.
Shay
-
December 4th, 2009, 10:20 AM
#2
Hi,
please, could you tell me which client library are you using?
I confirm that on our development version (the one used for the demo of www.lightstreamer.com) such javascript:void(0); call let the engine disappear, but for the last distributed version (the one used for the demo on http://push.lightstreamer.com ) only the connection is dropped.
Did you observe something different?
Btw everything is related to this known issue: http://www.lightstreamer.com/vb/showthread.php?t=79
please let me know if that solves your problems
-
April 5th, 2010, 03:33 PM
#3
when it happens, does notifySessionClose get invoked on server meta data adapter? Thanks
-
April 6th, 2010, 08:46 AM
#4
Yes, notifySessionClose is invoked, though not immediately.
When the connection is interrupted by the browser, the Server may need some time to notice that the connection is closed (it depends on the data frequency and, when low, on the probe time).
Then, the session is kept alive for the configurable <session_timeout_millis> time, in order to keep the subscriptions active and speed up a possible replay of the session.
Finally, notifySessionClose is invoked.
In case of a polling session, the delay could be higher.
Similar Threads
-
By omidqrose in forum General
Replies: 2
Last Post: May 23rd, 2011, 12:44 PM
-
By EWANG in forum Client SDKs
Replies: 1
Last Post: June 4th, 2010, 10:11 AM
-
By ddhanis in forum Client SDKs
Replies: 1
Last Post: May 21st, 2009, 09:54 AM
-
By jamesclinton in forum Adapter SDKs
Replies: 2
Last Post: March 14th, 2007, 07:04 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 11:48 PM.
Bookmarks