PRB: Navigator Returns "Data Missing" After Resizing the Browser (214539)
The information in this article applies to:
- Microsoft Visual Basic Learning Edition for Windows 6.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q214539 SYMPTOMS
When resizing the Netscape Navigator Web browser on a page generated by a WebClass, the following error occurs:
Data Missing
This document resulted from a POST operation and has expired from the
cache. If you wish you can repost the form data to recreate the document by pressing the reload button.
CAUSE
When the Netscape Navigator Web browser is resized, the browser attempts to retreive the page from its cache when repainting the window. However, the host Active Server Page (ASP) page used for instantiating the WebClass sets the Expiration date and time of the page to expire immediately and the browser will not cache the page. Also, since the requested page was retrieved as a result of an HTTP POST (for example, form submission) and the Web browser does not cache the POSTed data, Netscape Navigator is unable to repaint the page without first re-posting the data and requesting the page from the server.
RESOLUTION
You need to change the expiration data/time of the page via the Expires HTTP Header. You can do so by adding the following code to the ASP page generated by the WebClass, or in a WebItem in your WebClass:
Response.ExpiresAbsolute = #10/06/2000# 'A future expiration date
NOTE: In general, it is not recommended that you change the ASP page generated by the WebClass. Also note, you will need to add this code each time you recompile the WebClass because the ASP page will be overwritten.
The third-party products that are discussed in this article are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, regarding the performance or reliability of these products.
Modification Type: | Major | Last Reviewed: | 5/12/2003 |
---|
Keywords: | kb3rdparty kberrmsg kbprb kbWebClasses KB214539 |
---|
|