RefreshConstants Enumerated Type

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

Syntax

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

Constants

  • REFRESH_NORMAL
    Refresh without sending a "Pragma:no-cache" HTTP header to the server.

  • REFRESH_IFEXPIRED
    Not currently implemented.

  • REFRESH_COMPLETELY
    Refresh without forced cache validation by sending a "Pragma:no-cache" header to the server (HTTP URLs only). Same as pressing Ctrl+F5 in Microsoft Internet Explorer.

Remarks

The "Pragma:no-cache" 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.

Enumerated Type Information

Header Exdisp.h
Minimum availability Internet Explorer 4.0
Minimum operating systems Windows NT 4.0, Windows 95, Windows CE 2.12

See Also

Refresh, IWebBrowser2::Refresh