I\'m developing a \"real-time\" web application which sends AJAX requests to the server every 10 seconds. Obviously this is very bandwidth-intensive and I would like to know
Here's another way: http://www.tek-tips.com/faqs.cfm?fid=2700
And using Jquery : http://www.bedroomlan.org/coding/detecting-%E2%80%98idle%E2%80%99-and-%E2%80%98away%E2%80%99-timeouts-javascript