So I have an area on my page that I would like to update every 10 minutes.
Right now, I'm using this code:
var refresh = setInterval(refreshArea, 600000);
But this updates on the client side, so if 100 different users are looking at the page, the content will update at 100 different times.
I'd like for the content to update every 10 minutes for all users, like at 3:00, 3:10, 3:20, etc., so that if a user comes to the page at 3:05, the content will update after 5 minutes, and then every 10 minutes after that.
I'm using ASP.NET MVC, so I'm sure there's some server code that I would need to do this, but I don't know how.