I need to automatically refresh (partial) a page using AJAX/COMET on certain conditions:
1. If "connectedToService = false", redirect page to a different URL. i.e. "~/Disconnected"
2. If "listUpdated = true", reload contents of "list1"
3. If "tableUpdated = true", reload contents of "table1"
How can I accomplish this?
TIA
PS. I am creating an MVC web application.