IResponse::put_CacheControl

The IResponse::put_CacheControl method sets the value of the Response.CacheControl property of the Response object.

HRESULT put_CacheControl(
      BSTR bstrCacheControl
);

Parameters

  • bstrCacheControl
    [in] A binary string that contains the new CacheControl value.

Remarks

You can use the CacheControl value to determine whether or not proxy servers should cache ASP output.

Requirements

Client: Requires Windows XP Professional, Windows 2000 Professional, or Windows NT Workstation 4.0.

Server: Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.

Product: IIS

See Also