web.config で httponlycookie が true になっているので、JavaScript でサーバー側の Cookie にアクセスして UI のブロックを解除することはできません。Cookie の値を使用せずに UI をブロックするオプションはありますか
UI コードのブロックとブロック解除:
function blockUIForDownload() {
$.blockUI();
var start = new Date().getMinutes();
var token = new Date().getTime(); //use the current timestamp as the token value
$("#<%= download_token_value_id.ClientID %>").val(token);
$.blockUI();
fileDownloadCheckTimer = window.setInterval(function () {
var cookieValue = $.cookie('fileDownloadToken');
if (cookieValue == token) {
window.clearInterval(fileDownloadCheckTimer);
$.removeCookie('fileDownloadToken'); //clears this cookie value
$.unblockUI();
var end = new Date().getMinutes();
var time = end - start;
//alert('Execution time: ' + time +' minutes');
}
}, 1000);
}