PRB: IE3.x Leaks Memory when Submitting Pages Using POST MethodLast reviewed: January 2, 1998Article ID: Q173145 |
The information in this article applies to:
SYMPTOMSWhen working in Internet Explorer 3.x and submitting pages that use the <Form Method=POST> tag, you may notice one of the following on the client machine:
CAUSEMicrosoft Internet Explorer 3.x caches page information when using the <Form Method=POST> tag and fails to free the memory until the application is shut down.
RESOLUTIONTo prevent Internet Explorer 3.x from caching the page information, use Active Server Pages (ASP) to add an HTTP header to the page with the POST method. This is easily accomplished using Active Server Pages by adding the following line to the top of an .asp page:
<% Response.AddHeader "Pragma", "No-Cache" %>If the page with the POST method is an HTML page, simply add the ASP code to the page and change the extension to .asp to force the page to be parsed by the Asp.dll, thereby adding the header.
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATIONPages being hosted by Web servers that do not support ASP can use other methods such as Pearl script to add an HTTP header. Consult the Pearl or other language documentation for information on adding HTTP headers.
Steps to Reproduce Behavior
=======Post.asp begin. Do not pass this line in Post.asp============= <% Response.AddHeader "Pragma", "No-Cache" %> <HTML> <HEAD><TITLE>Sample adding HTTP header using ASP</TITLE></HEAD> <BODY> <FORM Name=frmProposals METHOD=POST ACTION="post.asp"> <INPUT Type=Submit Value="Submit"> </FORM> </BODY> </HTML> |
Additional query words: leak
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |