IBM Computer, Laptops and Servers

Back Homepage Content Directory Resource Guide Blog

FIX: ServerXMLHTTP Does Not Return Cookies Using NTLM Authentication

Laptop Battery FIX: ServerXMLHTTP Does Not Return Cookies Using NTLM

Our web servers place and read "cookies" on our site's visitors' computers for a variety of purposes. Cookies are small data files that are stored on an Internet user's computer by a web server. One important use of cookies is to help identify you while you are logged in to the Upromise site. Consequently, if your browser does not accept session cookies, you will be unable to enroll or log in to our service using our site. You will, however, be able to browse our site as a visitor. The information Upromise collects from cookies and web server logs is used to administer the web service and customize information you receive when visiting our site. Upromise may also use and share aggregate information from cookies and web server logs to analyze and improve our web service offerings. This information does not identify individual visitors or customers.

Thinkpad Authentication

A proxy is a server or a program on a server that performs request relay and caching services. When a computer in a LAN makes a request for a page on the Internet, the proxy checks its cache of pages to see if it has stored the page. If it has, it returns the page to the LAN computer. If not, it makes the request on behalf of the LAN computer and relays the information from the Internet to the LAN computer.

Microsoft This article was previously published under Q326847

According to the indictment, Jones would steal various IBM and Penguin computer servers from Verisign's warehouse in Virginia and sell them to Johnson. Johnson would then sell the servers to several individuals, who would sometimes place them for sale on eBay. As a result of this scheme, the indictment alleges that Jones and Johnson caused Verisign to lose more than $120, 000 worth of computer equipment. In the indictment, Jones and Johnson are charged in three counts with causing the interstate transportation of stolen property, namely IBM 330 and 335 servers, in violation of 18 U.S.C.

Laptop Computers SYMPTOMSYou can use the ServerXMLHTTP object to

Company Sites may use cookies in several applications for navigational purposes. A cookie is a small text file placed on your hard drive (not on the Company Site) by a Web page server. Cookies make your Internet experience quicker and more convenient. You are always free to decline our cookies if your browser permits, but some parts of Company Sites may not work properly if you do. Accepting a cookie from a Company Site does not give us access to any of your information.

Laptop Computer Retrieve and resubmit session cookies. You can retrieve the cookie from the

We use a technology nicknamed "cookies" on our web site. Cookies are pieces of information or data sent to your browser from a web server and stored on your computer' keeping purposes. We use cookies to make your visit to our web site easier. For example, in each time you visit. Cookies also allow us to count the number of unique and return visitors who use our site.

Desktop Computer Response header and resubmit the cookie through the Request Header. Everything

Notebooks Works as you expect when you use the Anonymous authentication

Lenovo Method. However, when you use the NTLM authentication method,

Hard Drive And you resubmit the cookie, the cookie is lost.

Travelstar RESOLUTIONTo resolve this problem, use one of the following methods:

Gateway Method 1: Install MDAC 2.7 Service Pack 1 (SP1). This contains MSXML 3.0

Laptop Parts SP3, which contains the fix. MDAC 2.7 SP1 is available for download at the

Software Following Microsoft Web site:

Hard Drives Method 2: Install MSXML 4.0 Parser. The MSXML 4.0 parser is available for

Electronics Download at the following Microsoft Web site: To use MSXML 4.0 change your

Canon Code from the following Prog

Desktop Pc ID:

Desktop Computers Msxml2.ServerXMLHTTP.3.0

Think Pad To the following

Repair Prog ID:

Data Recovery Msxml2.ServerXMLHTTP.4.0

Cisco STATUSMicrosoft has confirmed that this is a bug in the ServerXMLHTTP

Keyboard Component. It has been fixed in the latest release of MSXML 3.0 SP3, which is

Monitor Included with MDAC 2.7 SP1.

Desktop MORE INFORMATION

Infosys Steps to Reproduce the Behavior

Refurbished Laptops In Windows Explorer, create a folder that is named Test in the root folder

Wipro Of your Web server THe root folder is typically found in the following location:

Lap Top C:\Inetpub\Wwwroot\.

Refurbished In the left pane of Internet Information Services, right-click the

Memory Default Web Site, create a Virtual directory

Intel That is named Test, and then point this Virtual directory to

As400 The Test folder that you created earlier in the root folder of

Averatec Your Web server.

Hardware Double-click the Default Web Site, right-click

Dual Xeon Test, and then click Properties.

Storage On the Directory Security tab, click Edit,

Seagate And then click to clear the Anonymous access check box. Make

Computer Sales Sure that the Integrated Windows authentication check box is

Computer Hardware Checked for NTLM authentication.

Printers Use notepad to create a file that is named Sender.asp, and to create a file

Technology That is named Receiver.asp, and then save these files to the

Mainframe Test folder that you created earlier.

Samsung Paste the following segments of code in each file as follows:

Computer Repair Sender.asp:
<%

Used Computers Dim sender

Network Dim cookie

Digital Cameras 'Step 1: Get the Session Cookie

Desktops Set sender = server.CreateObject("Msxml2.ServerXMLHTTP.3.0")

Cognos Sender.open "GET", "http://localhost/test/receiver.asp?resubmit=false",false

Hosting Sender.send

Netfinity Cookie = sender.getResponseHeader("Set-Cookie")

Internet SID = mid(cookie,instr(1,cookie,"=")+1,instr(1,cookie,";")-(instr(1,cookie,"=")+1))

Cheap Computer 'Display the Session cookie information

Digital Camera Response.Write "Response Header Information From First Request: <br/><br/>"

Printer Response.Write "Response Header Cookie = " & cookie & "<br/>"

Xseries Response.write "SessionID = " & sID & "<br/><br/>"

Maxtor Response.Write "Setting Request Header Cookie as: " & left(cookie,instr(1,cookie,";")-1) & "<br/>"

Data Storage Response.Write "<br/>"

Hitachi Set sender = nothing

Rational 'Step 2: re-submit the same Session cookie back

Websphere Set sender = server.CreateObject("Msxml2.ServerXMLHTTP.3.0")

Battery Sender.open "POST", "http://localhost/test/receiver.asp?resubmit=true",false

It Support Sender.setRequestHeader "COOKIE", left(cookie,instr(1,cookie,";")-1)

Western Digital Sender.setRequestHeader "COOKIE", left(cookie,instr(1,cookie,";")-1)

Music Sender.send "<XML>Sent XML</XML>"

Networks 'The response from the ASP page.

Toner Response.Write "Request Header Cookie received by receiver:</br> " & sender.responseText & "</br>"

Cheap Laptops %>

Wholesale
Receiver.asp:
<%

Brother Response.Write "Cookie:" & Request.ServerVariables("HTTP_COOKIE")

Netvista %>

Camera Run Sender.asp from the following location:

Networking Http://localhost/Test/Sender.aspNotice that the

Sharp Receiver cookies are missing.

[ Comment, Edit or Article Submission ]

Share this:

Add To Yahoo MyWeb Add To Google Bookmarks Add To Furl Fav This With Technorati Add To Newsvine Add To Bloglines Add To Ask Add To Windows Live Add To Slashdot Stumble This Digg This Add To Del.icio.us Add To Reddit

More about:

Nov December 2008 Jan
Sun Mon Tue Wed Thu Fri Sat
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31      

IBM Computer, Laptops and Servers Blog on Technorati Related Blog of IBM Computer, Laptops and Servers on Sphere
Content Directory
Resource Guide


Wrox Books and Resources Programer to Programmer

Website Links
IBM Computer, Laptops and Servers Copyright © 2008 www.ibmfans.com. All rights reserved. Site Map
Homepage | Blog | Advertise | Privacy Policy | Disclaimer | Contact Us | Links