I use Jquery to make an Ajax request. The server returns Json object with value "true or false" like this:
return Json(new { success = false, JsonRe
Lots of good answers here, just out of curiosity after looking into this today, is it not best to use setInterval rather than the setTimeout?
setInterval
setTimeout
setInterval(function() { location.reload(); }, 30000);
let me know you thoughts.