[This is preliminary documentation and subject to change]

HttpExpires

This metabase property specifies the expiration of HTML document content by returning the value to the browser in the HTML file header. The browser compares the value of this property with the current date to determine whether to display a cached page or to request an updated page from the server. This property can be made relative, or dynamic, by using the format D,#SecondsUntilExpiration (with 0xFFFFFFFF indicating no expiration date). It can also be absolute, with the format S,ValidGMTString.

Attribute NameAttribute Value
Data TypeSTRING
AttributesINHERIT
Default ValueD, 0x15180
MetaFlagsExCACHE_PROPERTY_MODIFIED
User TypeIIS_MD_UT_FILE
StartingNumber
EndingNumber
ID6002

Access Locations

This property is accessible at the following locations:

Metabase PathIIS Admin Object Type
/LM/W3SVC/2IIsWebServer
/LM/W3SVC/Info/Templates/Public Web SiteIIsWebServer
/LM/W3SVC/Info/Templates/Secure Web SiteIIsWebServer
/LM/W3SVCIIsWebService
/LM/W3SVC/1/ROOTIIsWebVirtualDir
/LM/W3SVC/1/ROOT/_vti_binIIsWebVirtualDir
/LM/W3SVC/1/ROOT/IISAdminIIsWebVirtualDir
/LM/W3SVC/1/ROOT/IISHelpIIsWebVirtualDir
/LM/W3SVC/1/ROOT/MSADCIIsWebVirtualDir
/LM/W3SVC/1/ROOT/ScriptsIIsWebVirtualDir
/LM/W3SVC/2/ROOTIIsWebVirtualDir
/LM/W3SVC/2/ROOT/IISAdminIIsWebVirtualDir

IIS Admin Base Object Information

The following table lists additional information required only for code that uses the IIS Admin Base Object.

Metabase identifier
MD_HTTP_EXPIRES
Data typeSTRING
User typeIIS_MD_UT_FILE

© 1997-2001 Microsoft Corporation. All rights reserved.