Export (0) Print
Expand All

RefreshConstants Enumeration

Contains values used with the Refresh2 method.

Syntax

Enum RefreshConstants
    REFRESH_NORMAL = 0
    REFRESH_IFEXPIRED = 1
    REFRESH_COMPLETELY = 3
End Enum

Constants

REFRESH_NORMAL
Refresh without sending a "Pragma:no-cache" HTTP header to the server.
REFRESH_IFEXPIRED
Not currently supported.
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 Windows 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.

Enumeration Information

Minimum availability Internet Explorer 4.0
Minimum operating systems Windows NT 4.0, Windows 95, Windows CE 2.12

See Also

Refresh

Community Additions

ADD
Show:
© 2014 Microsoft