Can jQuery.getJSON put a domain's cookies in the header of the request it makes?
问题 (Note: See also the related question Can browsers react to Set-Cookie specified in headers in an XSS jquery.getJSON() request?) I can't seem to set a cookie (whose name is mwLastWriteTime) in the request header of a JSON operation. The request itself is a simple one from the Freebase MQL tutorials, and it is working fine otherwise: // Invoke mqlread and call the function below when it is done. // Adding callback=? to the URL makes jQuery do JSONP instead of XHR. jQuery.getJSON("http://api