title: Are there any disadvantages to using javascript setInerval with a long interval?
body: <p>I'm writing a web application (HTML/CSS/JS frontend, C# backend) where the users are expected to be on the same page for a while (usually longer than 10 minutes).  I would like to periodically check the server to see if the user's session has expired.  Is there any disadvantage to using setInterval with an interval of say, 2 - 5 minutes, to make an AJAX request to the server?</p>