Condividi tramite


RefreshConstants enumeration

Contains values used with the IWebBrowser2::Refresh2 method.

Constants

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

  • REFRESH_IFEXPIRED
    Refresh if the page has expired.

  • 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 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.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Exdisp.h

See also

IWebBrowser2::Refresh