Results 1 to 4 of 4
  1. #1
    Join Date
    Oct 2009

    IE - unexpected unsubscribe

    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.

  2. #2
    Power Member
    Join Date
    Jul 2006
    Cesano Maderno, Italy

    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 such javascript:void(0); call let the engine disappear, but for the last distributed version (the one used for the demo on ) only the connection is dropped.
    Did you observe something different?

    Btw everything is related to this known issue:

    please let me know if that solves your problems

  3. #3
    Join Date
    Mar 2007
    when it happens, does notifySessionClose get invoked on server meta data adapter? Thanks

  4. #4
    Join Date
    Jul 2006
    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

  1. Unexpected Delay
    By omidqrose in forum General
    Replies: 2
    Last Post: May 23rd, 2011, 01:44 PM
  2. unsubscribe
    By EWANG in forum Client SDKs
    Replies: 1
    Last Post: June 4th, 2010, 11:11 AM
  3. unsubscribe by itself intermittenly
    By ddhanis in forum Client SDKs
    Replies: 1
    Last Post: May 21st, 2009, 10:54 AM
  4. unsubscribe
    By jamesclinton in forum Adapter SDKs
    Replies: 2
    Last Post: March 14th, 2007, 08: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
All times are GMT +1. The time now is 10:54 PM.