Click to return to the Reusing Browser Technology home page    
READYSTATE Enumerated Typ...     Reference for C/C++ Devel...    
Web Workshop  |  Reusing Browser Technology

REFRESHCONSTANTS Enumerated Type


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

Syntax

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

Constants

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

Remarks

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.

Enumerated Type Information

Windows NT Use version 4.0
Windows Use Windows 95 and later
Header Exdisp.h
Minimum availability Internet Explorer 4.0

Windows CE

Windows CE Use version 2.12 and later
Minimum availability Internet Explorer 4.0

See Also

Refresh, IWebBrowser2::Refresh


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.