使用: window.navigator.cookieEnabled;
window.navigator.cookieEnabled = true;
这样设置以后, 浏览器就不会接受和保存服务器传过来的cookie, 也就不会在发起HTTP请求时向服务器发送cookie.