Microsoft KB Archive/262595

= BUG: HTTP_Referer Is Empty If You Click Refresh, Back, or Forward Within an XML Document =

Article ID: 262595

Article Last Modified on 2/12/2007

-

APPLIES TO


 * Microsoft Internet Explorer 5.01
 * Microsoft Internet Explorer 5.01
 * Microsoft Internet Explorer 5.01

-



This article was previously published under Q262595



SYMPTOMS
If you click the Refresh, Back, or Forward button while viewing an XML document in Internet Explorer 5.01, the HTTP_Referer field is empty. This field is correctly updated for all other known file types (HTML, ASP, and so on), but is not updated for XML files. This problem occurs only when you click Refresh, Back, or Forward.



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



Steps to Reproduce Behavior
To reproduce this problem, perform the following steps:

  Create a file named Test.asp and paste the following code in it: <%@ LANGUAGE=&quot;VBSCRIPT&quot; %>

<%Response.ContentType = &quot;text/xml&quot;%>  

 Referer: <%=Request.ServerVariables(&quot;HTTP_Referer&quot;)%> test1 some text test2 some more text    Create a file named Test.xsl and paste the following code in it:     <A HREF=&quot;test.asp&quot;>test.asp</A> </BODY> </HTML> </xsl:template> </xsl:stylesheet> </li> In Internet Explorer, open the Test.xsl file.</li> Click the link to Test.asp; this fills in the HTTP_Referer field.</li> Click Refresh, Back, or Forward to make the field null again.</li></ol>

Additional query words: blank null empty html referrer referer

Keywords: kbbug kbdatabase kbpending kbmsxmlnosweep KB262595

-

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

© Microsoft Corporation. All rights reserved.