Returns or sets whether cross-site Access-Control requests should be made using credentials such as cookies or authorization headers.
Property of apis/xhr/XMLHttpRequestapis/xhr/XMLHttpRequest
Syntaxvar result = element.withCredentials;
element.withCredentials = value;
Return Value
Returns an object of type BooleanBoolean
Default is false.
Examplesvar xhr = new XMLHttpRequest();
xhr.open("GET", "http://updates.html5rocks.com", true);
xhr.withCredentials = true;
xhr.send();
Notes
withCredentials cannot be set after the XMLHttpRequest’s send() method is called.
Related specificationsMicrosoft Developer Network: Windows Internet Explorer API reference Article
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4