IResponse::get_CacheControl

The IResponse::get_CacheControl method retrieves a value for the CacheControl property.

HRESULT get_CacheControl(

  BSTR *pbstrCacheControl // pointer to a BSTR that receives the CacheControl value

);

 

Parameters
pbstrCacheControl
[retval] [out] Points to a BSTR that receives the CacheControl value.
Remarks

You can use the CacheControl value to override the default value which is Private. By setting the value to Public, proxy servers will be able to cache output from ASP pages.

See Also

Response Object