Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

BUG: Word 2000 and Excel 2000 Do Not Retain Cookie Information When You Move to a Hyperlink in the Same Session


View products that this article applies to.

Symptoms

When you run Microsoft Internet Explorer to open a Word 2000 document or an Excel 2000 workbook that contains a hyperlink to another document or workbook, you may experience a problem. If you click the hyperlink inside the open document, the session information and the cookie information that is used to return the first document may not be used to move to the hyperlink target. Therefore, you cannot view the new document if the server requires session or cookie information. On some systems, you may not experience the problem when you click the hyperlink the first time. However, if you click Back to return to the previous document and then click the hyperlink again, the session information or the cookie information is not used for the second navigation, and the problem occurs.

↑ Back to the top


Cause

Both Word and Excel support Web page editing. The problem that is described in the "Symptoms" section occurs when Word and Excel try to move to the hyperlink by using Microsoft OLE DB Provider for Internet Publishing (MSDAIPP). Word and Excel use MSDAIPP to gain full read and write access to the file. This navigation occurs in a new session that is distinct from the original session that was used by Internet Explorer to open the original file. Because of the new session, cookies that are saved by the previous Internet Explorer session are not available in the second request. This problem occurs even if the file is opened read-only in Internet Explorer.

To address this issue, a hot fix was released to allow the hyperlink navigation to open read-only on the first request and then read/write on the second request. This permits the cookie information to be preserved for navigation but still permits Web page editing in Office 2000. For additional information about the code change, click the following article number to view the article in the Microsoft Knowledge Base:
185978 FIX: Double GET requests and cookies are lost with Word 2000 or Excel 2000
If the client requests the same hyperlink two times by clicking Back and then by clicking the hyperlink again, the internal semantics of the request appear as an edit request. Therefore, MSDAIPP is used. The result is the loss of cookies for the second attempt and a re-occurrence of the problem.

↑ Back to the top


Resolution

The problem cannot be fully resolved in Office 2000. The problem is fully resolved in Microsoft Office XP.

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

↑ Back to the top


Keywords: KB810360, kbbug, kbpending

↑ Back to the top

Article Info
Article ID : 810360
Revision : 4
Created on : 7/20/2004
Published on : 7/20/2004
Exists online : False
Views : 279