I want to display an icon or message on a different webpage whenever an ajax page is actively refreshing original webpage. Can this be done?
I have a webpage (index.php)that is using ajax to refresh a php page (dbcheck.php) which is pulling data from a mysql DB and displaying it. The ajax is refreshing the script(dbcheck.php) every second so its almost in real time. I want to display an icon or message on a third webpage, on the same server, whenever the ajax page is actively refreshing so I know the page is active.(someone is on the page) Can I add a second ajax POST to index.php that POSTS to the 3rd page or ? Does anyone have any ideas how this could be achieved?