User-945250335 posted
Cookie disable is not working under two scenarios:
I am using below Javascript code to check cookies enable in IE 11.
var areCookiesEnabled= function () {
//check by using navigator
var cookieEnabledNavigator = (navigator.cookieEnabled) ? true : false;
//By Setting Test Cookies
document.cookie = "testcookie";
var cookieEnabled = (document.cookie.indexOf("testcookie") != -1) ? true : false;
return (cookieEnabled && cookieEnabledNavigator);
}
t works when do below setting to disable cookies.

But it doesn't work with below setting to disable cookies.


Is there way to handle this through javascript code or c# code.