BUG: XMLHTTP Fails to Send Cookies from a Client (290899)
The information in this article applies to:
- Microsoft XML 2.6
- Microsoft XML 3.0
- Microsoft XML 3.0 SP1
- Microsoft XML 4.0
This article was previously published under Q290899 SYMPTOMS
The MSXML2.XMLHTTP object does not use cookies per se, but you can use it to send your own cookies from a client to a server. When you use the MSXML2.XMLHTTP object to send your cookies from a client, you may find that your cookies are empty when they arrive at the server.
NOTE: Usually a server sends and receives cookies. In this case, you may be submitting cookies from a client so that you do not have to reauthenticate the client.
RESOLUTION
To work around this problem, invoke the setRequestHeader method twice for the cookie.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
Modification Type: | Major | Last Reviewed: | 10/16/2002 |
---|
Keywords: | kbBug kbDSupport kbfix KB290899 kbAudDeveloper |
---|
|