0 Replies Latest reply: Oct 7, 2013 10:41 AM by Steve Taschereau RSS

    Preventing timeouts/server connection loss in extension object.

    Steve Taschereau

      Greetings,

       

      I have an extension object (.js) that contains an embedded HTML5 audio player, the purpose of which is to automatically play a sequence of mp3 files derived from the model data provided by the QV server.

       

      This works fine with one exception: If the list of mp3's is somewhat long, and causes the player to auto-play for a 1/2 hr or more, when you eventually click on the report again, the report appears to have lost its connection to the server and you have to sit through a re-connect.  

       

      My question is, is there something I can do within the script to keep the connection fresh so that it doesn't timeout?  I tried adding a Qv.GetCurrentDocument() call between each mp3 invocation, but that didn't help.

       

      Thanks,

      Steve