Microsoft KB Archive/264143

= FIX: ASP Session Variables Empty When Office 2000 MIME Types Are Streamed with Internet Explorer =

Article ID: 264143

Article Last Modified on 8/9/2004

-

APPLIES TO


 * Microsoft Excel 2000 Standard Edition
 * Microsoft PowerPoint 2000 Standard Edition
 * Microsoft Word 2000 Standard Edition

-



This article was previously published under Q264143



SYMPTOMS
When you stream MIME-typed data into a Microsoft Office 2000 application from an Active Server Page (ASP) page, Session variables are empty.



STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article.

The problem has been corrected in SR-1 for Office 2000. You can download the service release from the Office update page on the following Microsoft Web site at:

http://office.microsoft.com



Steps to Reproduce Behavior
 Create a new virtual directory on your Web server, and name it SessionTest.  Start Microsoft Notepad to create a new Active Server Page. Place the following code in Notepad: <%@ Language=VBScript %>   <% if Request.Form(&quot;text1&quot;) = &quot;&quot; then %>     <% else Session(&quot;Sample&quot;) = Request.Form(&quot;text1&quot;) strRedirect = &quot;redir.asp&quot; Response.Write(&quot;&quot;) end if %>  </HTML> </li> Save the file as default.asp in the SessionTest virtual directory.</li>  Create a new file in Notepad and place the following code in the edit window: <%@ Language=VBScript %> <%  Response.ContentType = &quot;application/vnd.ms-excel&quot; %> <HTML>  </BODY> </HTML> </li> Save the file as redir.asp in the SessionTest virtual directory.</li> When you navigate to http:// /SessionTest/default.asp, there is a window with a text box and a button. Enter some text in the text box, and then press Submit.</li> On a computer with the Office 2000 SR-1 update, note that you are redirected to redir.asp and are able see the text in Excel.</li> On a computer without the Office 2000 SR-1 update, note that you are redirected to redir.asp, but are not able to see the text in Excel.</li></ol>

<div class="references_section">