Results 1 to 2 of 2
  1. #1

    Closing connection when browser windows is closed


    I have a flex web application using lighstreamer.
    I wanted to know what happens to the connection which we open to connect to lightstreamer server when the browser tab running the flex client is closed. Who is responisble for closing it? And if I leave connection open the will lightstreamer server will do a cleanup automatically?

    Nishant Kumar

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

    In a perfect world the browser should close the connection when you close the tab.
    Unfortunately I can recall there were cases when the connection was left pending, that's why we introduced a hook in our demos to manually close the connection upon page unloading.

    Anyway if the connection remains open the server will detect the issue after a while and eventually close the connection.



Tags for this Thread


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 01:07 AM.