function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
AnugrahaAnugraha 

How long before the Streaming API connection expires in a visualforce page? How do I capture the loss of connection and reconnect again if necessary?

Hi All,

I have created a vf page which will not be actively used by any user i.e it is just used to display the updates on a custom object(we display it on the TV in the front). However, I am wondering if this will work if the page is displayed on the screen for the entire day? When will the connection expire? How will I determine the loss of connectivity and reconnect again?