1 Reply Latest reply on Mar 14, 2012 7:19 AM by Nrusingha Charan Patro

    Web Workers

      Hi All,

       

      Has anyone had any real success implementing Web Workers in Rhoelements? We are attempting to create a long running thread that polls the local database for synchronization purposes. This seems to work well enough apart from the worker needing to be associated with a particular page, which is terrible limiting as the thread ends every time you navigate through the application. Any advise on how one can set up a thread that polls continuously regardless of where you are in the app?

       

      Garrick

        • Re: Web Workers

          Hello Garrick,

           

          Plesae try the same application on crome browser and the beahviour will be same , once you navigate through the application the worker stops working as you are moving to a new html page.

           

          May be you need to use AJAX to bring the content of another page rather than moving to that page.

           

          hope this helps.

           

          Patro