Microsoft KB Archive/810360

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

Article ID: 810360

Article Last Modified on 7/20/2004

-

APPLIES TO


 * Microsoft Office 2000 Developer Edition
 * Microsoft Excel 2000 Standard Edition
 * Microsoft Word 2000 Standard Edition

-



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.



CAUSE
Both Word and Excel support Web page editing. The problem that is described in the &quot;Symptoms&quot; 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.



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



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

Keywords: kbbug kbpending KB810360

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.