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
I prefer this way Using ajaxStop + setInterval,, this will refresh the page after any XHR[ajax] request in the same page
ajaxStop
setInterval
$(document).ajaxStop(function() { setInterval(function() { location.reload(); }, 3000); });