Hello,
My cometized app is almost working. I made a jquery loop, with a long
timeout, and upon success the method recalls itself.
in the comet-counter example both onEvent and onInterrupt methods had the
same code (incrementing the counter)
previously, I thought the onInterrupt method was for when something went
wrong so the client could be notified, and clean the resources.
what happens is, onEvent and onInterrupt is called in an alternating
fashion,
so first it fires onEvent, then onInterrupt, then onEvent again and so on.
I was returning an interrupted flag to my client if in case something went
wrong.
Any ideas?
Best,