RefreshConstantsRefreshConstants*
*Contents  *Index  *Topic Contents
*Previous Topic: READYSTATE
*Next Topic: Reusing MSHTML

RefreshConstants

typedef enum RefreshConstants {
    REFRESH_NORMAL = 0,
    REFRESH_IFEXPIRED = 1,
    REFRESH_CONTINUE = 2,
    REFRESH_COMPLETELY = 3
} RefreshConstants;

Contains values used with the Refresh2 and IWebBrowser2::Refresh2 methods.

The "pragma:nocache" header tells the server not to return a cached copy but to ensure that the information is as fresh as possible. Browsers typically send this header when the user selects Refresh, but the header can cause problems for some servers.

Values
REFRESH_NORMAL Perform a lightweight refresh that does not include sending the HTTP "pragma:nocache" header to the server.
REFRESH_IFEXPIRED Perform a lightweight refresh if the page has expired.
REFRESH_CONTINUE For internal use only; do not use.
REFRESH_COMPLETELY Perform a full refresh that includes sending a "pragma:nocache" header to the server (HTTP URLs only).

See also Refresh, IWebBrowser2::Refresh


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.